Skip to content

Commit 34d4c3d

Browse files
fix: api v2 webhook issue (#17831)
1 parent e477e58 commit 34d4c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/v2/src/ee/bookings/2024-04-15/controllers/bookings.controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export class BookingsController_2024_04_15 {
333333
}
334334

335335
private async getOAuthClientsParams(clientId: string): Promise<OAuthRequestParams> {
336-
const res = DEFAULT_PLATFORM_PARAMS;
336+
const res = { ...DEFAULT_PLATFORM_PARAMS };
337337
try {
338338
const client = await this.oAuthClientRepository.getOAuthClient(clientId);
339339
// fetch oAuthClient from db and use data stored in db to set these values

0 commit comments

Comments
 (0)