Skip to content

Commit 6cdc9c9

Browse files
authored
fix invalid access token bug (#19793)
1 parent 56d1998 commit 6cdc9c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/api/v2/src/ee/bookings/2024-08-13/services/input.service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ export class InputBookingsService_2024_08_13 {
442442
return keyData?.userId;
443443
} else {
444444
// Access Token
445-
return this.oAuthFlowService.getOwnerId(bearerToken);
445+
const ownerId = await this.oAuthFlowService.getOwnerId(bearerToken);
446+
return ownerId;
446447
}
447448
}
448449
} catch (err) {

0 commit comments

Comments
 (0)