fix: api v2 webhook issue (#17831)

This commit is contained in:
Morgan
2024-11-25 15:52:00 +00:00
committed by GitHub
parent e477e5892c
commit 34d4c3d775
@@ -333,7 +333,7 @@ export class BookingsController_2024_04_15 {
}
private async getOAuthClientsParams(clientId: string): Promise<OAuthRequestParams> {
const res = DEFAULT_PLATFORM_PARAMS;
const res = { ...DEFAULT_PLATFORM_PARAMS };
try {
const client = await this.oAuthClientRepository.getOAuthClient(clientId);
// fetch oAuthClient from db and use data stored in db to set these values