Skip to content

Commit

Permalink
refactor: KDK API client initialization is now async
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jan 2, 2025
1 parent 6d2b3ae commit ba12ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/kdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async ({ app }) => {
// Initializes i18n first to avoid any browser translation
await i18n.initialize(app, ['core', 'map', 'crisis'])
// Initiate the client
const api = initializeApi(setupApi)
const api = await initializeApi(setupApi)
// Setup app hooks
api.hooks(appHooks)
// Then all services
Expand Down

0 comments on commit ba12ead

Please sign in to comment.