mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 18:27:44 +02:00
fix: empty workspace uuid when generating token (#9252)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -53,8 +53,8 @@ export async function performGithubAccountMigrations (
|
||||
txes: Tx[],
|
||||
region: string | null
|
||||
): Promise<void> {
|
||||
const token = generateToken(systemAccountUuid, '' as WorkspaceUuid, { service: 'admin', admin: 'true' })
|
||||
const githubToken = generateToken(systemAccountUuid, '' as WorkspaceUuid, { service: 'github' })
|
||||
const token = generateToken(systemAccountUuid, undefined, { service: 'admin', admin: 'true' })
|
||||
const githubToken = generateToken(systemAccountUuid, undefined, { service: 'github' })
|
||||
const accountClient = getAccountClient(token)
|
||||
|
||||
const githubAccountClient = getAccountClient(githubToken)
|
||||
|
||||
Reference in New Issue
Block a user