diff --git a/src/modules/user/user.usecase.ts b/src/modules/user/user.usecase.ts index b07332750..e1869714a 100644 --- a/src/modules/user/user.usecase.ts +++ b/src/modules/user/user.usecase.ts @@ -908,6 +908,7 @@ export class UserUseCases { networkCredentials: { user: user.bridgeUser, }, + tierId: user.tierId, workspaces: { owners }, ...(platform && { platform }), }, diff --git a/test/helpers/auth.helper.ts b/test/helpers/auth.helper.ts index e3733e324..e39644931 100644 --- a/test/helpers/auth.helper.ts +++ b/test/helpers/auth.helper.ts @@ -19,6 +19,7 @@ export function generateAuthToken(user: User, jwtSecret?: string): string { user: user.bridgeUser, pass: user.userId, }, + tierId: user.tierId, }, }, secret, diff --git a/test/helpers/user.helper.ts b/test/helpers/user.helper.ts index 7fc3c6fbf..657dc3d3f 100644 --- a/test/helpers/user.helper.ts +++ b/test/helpers/user.helper.ts @@ -104,6 +104,7 @@ export async function createTestUser( networkCredentials: { user: user.bridgeUser, }, + tierId: user.tierId, }, }, secret,