Skip to content

Commit

Permalink
leave signature for load resources
Browse files Browse the repository at this point in the history
  • Loading branch information
aidynoJ committed Feb 5, 2025
1 parent 5ce3d7a commit 804e289
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/loginServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,12 +400,12 @@ function loadResources(store, tenant, userId) {
// in mod-configuration so we can only retrieve them if the user has
// read-permission for configuration entries.
if (canReadConfig(store)) {
const okapiUrl = store.getState()?.okapi?.url;
const okapi = store.getState()?.okapi;
promises = [
getLocale(okapiUrl, store, tenant),
getUserLocale(okapiUrl, store, tenant, userId),
getPlugins(okapiUrl, store, tenant),
getBindings(okapiUrl, store, tenant),
getLocale(okapi.url, store, tenant),
getUserLocale(okapi.url, store, tenant, userId),
getPlugins(okapi.url, store, tenant),
getBindings(okapi.url, store, tenant),
];
}

Expand Down

0 comments on commit 804e289

Please sign in to comment.