diff --git a/src/api/user/UserAPI.js b/src/api/user/UserAPI.js index fbe8468510..5e2901cdfe 100644 --- a/src/api/user/UserAPI.js +++ b/src/api/user/UserAPI.js @@ -136,7 +136,7 @@ class UserAPI extends EventEmitter { */ canProvideStatusForRole() { if (!this || !this.hasProvider()) { - return Promise.resolve(undefined); + return null; } const activeRole = this.getActiveRole();