uberf-7927: get rid of product id (#6375)

This commit is contained in:
Alexey Zinoviev
2024-08-22 21:10:59 +07:00
committed by GitHub
parent 23b5e35be7
commit 4d5d229364
68 changed files with 314 additions and 562 deletions
+1 -3
View File
@@ -17,7 +17,6 @@ import config from './config'
*/
export async function createPlatformClient (
workspace: string,
productId: string,
timeout: number,
reconnect?: (event: ClientConnectEvent) => void
): Promise<Client> {
@@ -33,8 +32,7 @@ export async function createPlatformClient (
const token = generateToken(
config.SystemEmail,
{
name: workspace,
productId
name: workspace
},
{ mode: 'github' }
)