Skip to content

Commit

Permalink
Fixing user resolving at AI image service
Browse files Browse the repository at this point in the history
  • Loading branch information
victoralfaro-dotcms committed Aug 20, 2024
1 parent 2bb5c96 commit 0e39662
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static class DefaultImageAPIProvider implements ImageAPIProvider {
public ImageAPI getImageAPI(final Object... initArguments) {
if (Objects.nonNull(initArguments) && initArguments.length >= 4
&& initArguments[0] instanceof AppConfig
&& initArguments[1] instanceof User
&& (Objects.isNull(initArguments[1]) || initArguments[1] instanceof User)
) {

final AppConfig config = (AppConfig) initArguments[0];
Expand Down

0 comments on commit 0e39662

Please sign in to comment.