Skip to content

Commit

Permalink
fix: delete wrong cached type
Browse files Browse the repository at this point in the history
There was a mismatch in the type asking to be removed from the cache
This cause the client to throw when the admin was logging in

tutadb#1883
  • Loading branch information
hdcos authored and vitoreiji committed Oct 25, 2024
1 parent 4630778 commit b775cfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class CacheManagementFacade {
* @param groupId
*/
async reloadGroup(groupId: Id): Promise<Group> {
await this.entityRestCache.deleteFromCacheIfExists(GroupKeyTypeRef, null, groupId)
await this.entityRestCache.deleteFromCacheIfExists(GroupTypeRef, null, groupId)
return await this.cachingEntityClient.load(GroupTypeRef, groupId)
}

Expand Down

0 comments on commit b775cfa

Please sign in to comment.