From 93192b0afd499ec6af1d4911682411ef228d16ab Mon Sep 17 00:00:00 2001 From: Aydan Pirani Date: Wed, 23 Aug 2023 22:28:54 -0500 Subject: [PATCH] Resolved small typo --- src/services/auth/auth-lib.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/auth/auth-lib.ts b/src/services/auth/auth-lib.ts index c18fe5fb..0c152502 100644 --- a/src/services/auth/auth-lib.ts +++ b/src/services/auth/auth-lib.ts @@ -265,7 +265,7 @@ export async function updateRoles(userId: string, role: Role, operation: RoleOpe case RoleOperation.REMOVE: filter = {"$pull": {"roles": role}}; break; } - // Appoly filter to roles collection, based on the operation + // Apply filter to roles collection, based on the operation const collection: Collection = await DatabaseHelper.getCollection("auth", "roles"); await collection.updateOne({id: userId}, filter); }