From 8276c80ad6353cbc12d8e81b65700b0dd4050f4f Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Tue, 28 May 2024 17:27:39 +0200 Subject: [PATCH 1/3] fix: tenant field description in event trigger api --- apps/api/src/app/events/dtos/trigger-event-request.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/events/dtos/trigger-event-request.dto.ts b/apps/api/src/app/events/dtos/trigger-event-request.dto.ts index 4c31e8e8e35..38ecf702c4f 100644 --- a/apps/api/src/app/events/dtos/trigger-event-request.dto.ts +++ b/apps/api/src/app/events/dtos/trigger-event-request.dto.ts @@ -119,7 +119,7 @@ export class TriggerEventRequestDto { @ApiProperty({ description: `It is used to specify a tenant context during trigger event. - If a new tenant object is provided, we will create a new tenant. + Exisitng tenant will be updated if tenant details are provided, but new tenant will not be created. `, oneOf: [ { type: 'string', description: 'Unique identifier of a tenant in your system' }, From d43663ca2a168663928b1908873a797fd3e3e27d Mon Sep 17 00:00:00 2001 From: Pawan Jain Date: Tue, 28 May 2024 17:32:44 +0200 Subject: [PATCH 2/3] fix: spell check --- apps/api/src/app/events/dtos/trigger-event-request.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/events/dtos/trigger-event-request.dto.ts b/apps/api/src/app/events/dtos/trigger-event-request.dto.ts index 38ecf702c4f..cea0986eece 100644 --- a/apps/api/src/app/events/dtos/trigger-event-request.dto.ts +++ b/apps/api/src/app/events/dtos/trigger-event-request.dto.ts @@ -119,7 +119,7 @@ export class TriggerEventRequestDto { @ApiProperty({ description: `It is used to specify a tenant context during trigger event. - Exisitng tenant will be updated if tenant details are provided, but new tenant will not be created. + Existing tenant will be updated if tenant details are provided, but new tenant will not be created. `, oneOf: [ { type: 'string', description: 'Unique identifier of a tenant in your system' }, From 53c34e571db9f0009122b052205f7fb05617ad3d Mon Sep 17 00:00:00 2001 From: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Mon, 3 Jun 2024 16:20:06 +0100 Subject: [PATCH 3/3] Update apps/api/src/app/events/dtos/trigger-event-request.dto.ts Co-authored-by: Sokratis Vidros --- apps/api/src/app/events/dtos/trigger-event-request.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/app/events/dtos/trigger-event-request.dto.ts b/apps/api/src/app/events/dtos/trigger-event-request.dto.ts index cea0986eece..500836cc1a8 100644 --- a/apps/api/src/app/events/dtos/trigger-event-request.dto.ts +++ b/apps/api/src/app/events/dtos/trigger-event-request.dto.ts @@ -119,7 +119,7 @@ export class TriggerEventRequestDto { @ApiProperty({ description: `It is used to specify a tenant context during trigger event. - Existing tenant will be updated if tenant details are provided, but new tenant will not be created. + Existing tenants will be updated with the provided details. `, oneOf: [ { type: 'string', description: 'Unique identifier of a tenant in your system' },