Remove toString

This commit is contained in:
Pedro Silva 2022-12-09 18:10:17 +00:00
parent d390fe7d8d
commit 1765e10995
1 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ describe("Internal API - User Management & Permissions", () => {
const body: User = {
...userInfoJson,
roles: {
[app.appId?.toString() || ""]: "BASIC",
[<string>app.appId]: "BASIC",
}
}
await config.users.updateInfo(body)
@ -123,7 +123,7 @@ describe("Internal API - User Management & Permissions", () => {
const body: User = {
...userInfoJson,
roles: {
[app.appId?.toString() || ""]: "ADMIN",
[<string>app.appId]: "ADMIN",
}
}
await config.users.updateInfo(body)
@ -147,7 +147,7 @@ describe("Internal API - User Management & Permissions", () => {
const body: User = {
...userInfoJson,
roles: {
[app.appId?.toString() || ""]: "POWER",
[<string>app.appId]: "POWER",
}
}
await config.users.updateInfo(body)