Skip to content

Commit

Permalink
fix(core): await in merge function
Browse files Browse the repository at this point in the history
  • Loading branch information
morhag90 committed Sep 8, 2024
1 parent 8e61cb6 commit 1749766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/auth-auth0/src/events/createApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const afterCreateAdminApp = async (
);
// Merge the static files with the existing modules replacing any existing files

modules.merge(staticFiles);
await modules.merge(staticFiles);

return modules;
};
2 changes: 1 addition & 1 deletion plugins/auth-keycloak/src/events/createApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export const afterCreateAdminApp = async (
);

// Merge the static files with the existing modules replacing any existing files
await merge(modules, staticFiles);
merge(modules, staticFiles);
return modules;
};

0 comments on commit 1749766

Please sign in to comment.