Fix ts
This commit is contained in:
parent
6d3117d6ac
commit
7605bb46f6
|
@ -286,7 +286,7 @@ class TestConfiguration {
|
||||||
admin,
|
admin,
|
||||||
roles,
|
roles,
|
||||||
})
|
})
|
||||||
await cache.user.invalidateUser(globalId, this.getTenantId())
|
await cache.user.invalidateUser(globalId)
|
||||||
return {
|
return {
|
||||||
...resp,
|
...resp,
|
||||||
globalId,
|
globalId,
|
||||||
|
@ -326,7 +326,7 @@ class TestConfiguration {
|
||||||
const appToken = auth.jwt.sign(app, env.JWT_SECRET)
|
const appToken = auth.jwt.sign(app, env.JWT_SECRET)
|
||||||
|
|
||||||
// returning necessary request headers
|
// returning necessary request headers
|
||||||
await cache.user.invalidateUser(userId, this.getTenantId())
|
await cache.user.invalidateUser(userId)
|
||||||
return {
|
return {
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
Cookie: [
|
Cookie: [
|
||||||
|
|
Loading…
Reference in New Issue