From 81c33efc6effc187ae5d4100ff69a2a0035e9649 Mon Sep 17 00:00:00 2001 From: Khalid Adil Date: Wed, 12 Jul 2023 19:56:04 -0500 Subject: [PATCH] Removed unneeded getStatusRoleForCurrentUser function --- example/exampleUser/ExampleUserProvider.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/example/exampleUser/ExampleUserProvider.js b/example/exampleUser/ExampleUserProvider.js index bafd503d83..c92d780125 100644 --- a/example/exampleUser/ExampleUserProvider.js +++ b/example/exampleUser/ExampleUserProvider.js @@ -121,12 +121,6 @@ export default class ExampleUserProvider extends EventEmitter { return this.user.getRoles(); } - getStatusRoleForCurrentUser(role) { - const matchedRole = this.statusRoleValues.find((statusRole) => statusRole.role === role); - - return Promise.resolve(matchedRole?.status); - } - getAllStatusRoles() { return Promise.resolve(this.statusRoles); }