From 7605bb46f64898d3b124eed460f5d231d35f1529 Mon Sep 17 00:00:00 2001 From: adrinr Date: Fri, 3 Feb 2023 11:30:30 +0000 Subject: [PATCH] Fix ts --- packages/server/src/tests/utilities/TestConfiguration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/tests/utilities/TestConfiguration.ts b/packages/server/src/tests/utilities/TestConfiguration.ts index 64ce55f504..54f90d121f 100644 --- a/packages/server/src/tests/utilities/TestConfiguration.ts +++ b/packages/server/src/tests/utilities/TestConfiguration.ts @@ -286,7 +286,7 @@ class TestConfiguration { admin, roles, }) - await cache.user.invalidateUser(globalId, this.getTenantId()) + await cache.user.invalidateUser(globalId) return { ...resp, globalId, @@ -326,7 +326,7 @@ class TestConfiguration { const appToken = auth.jwt.sign(app, env.JWT_SECRET) // returning necessary request headers - await cache.user.invalidateUser(userId, this.getTenantId()) + await cache.user.invalidateUser(userId) return { Accept: "application/json", Cookie: [