diff --git a/src/services/provider.js b/src/services/provider.js index 30ddf81..038bf5c 100644 --- a/src/services/provider.js +++ b/src/services/provider.js @@ -21,9 +21,9 @@ export const UserServiceProvider = (function () { } return { - getInstance: function (user) { + getInstance: async function (user) { if (!instance) { - instance = createInstance(user); + instance = await createInstance(user); } return instance; },