Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
keep createProcess as-is
Browse files Browse the repository at this point in the history
  • Loading branch information
jwulf committed Aug 15, 2023
1 parent d605791 commit a2115de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ test('can override the gateway timeout', async () => {
otherValue: 'rome',
sourceValue: 5,
},
tenantId: 'something'
})
expect(result.variables.sourceValue).toBe(5)
})
Expand Down
6 changes: 1 addition & 5 deletions src/zb/ZBClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,13 +848,9 @@ export class ZBClient extends TypedEmitter<typeof ConnectionStatusEvent> {
* ```
*/
public async deployProcess(
process: (ZB.DeployProcessFiles | ZB.DeployProcessBuffer) & { tenantId?: string }
process: (ZB.DeployProcessFiles | ZB.DeployProcessBuffer)
): Promise<Grpc.DeployProcessResponse> {

if (!!process.tenantId) {
this.logger.logInfo('Multi-tenancy is not yet implemented. The tenantId parameter is provided for development purposes.')
}

const deploy = (processes: Grpc.ProcessRequestObject[]) =>
this.executeOperation('deployWorkflow', () =>
this.grpc.deployProcessSync({
Expand Down

0 comments on commit a2115de

Please sign in to comment.