fix invalid access token bug (#19793)

This commit is contained in:
Rajiv Sahal authored and GitHub committed 2025-03-06 14:51:39 +00:00
1 parent 56d1998f0f
commit 6cdc9c9f59
1 file changed
+2 -1
@@ -442,7 +442,8 @@ export class InputBookingsService_2024_08_13 {
return keyData?.userId;
} else {
// Access Token
return this.oAuthFlowService.getOwnerId(bearerToken);
const ownerId = await this.oAuthFlowService.getOwnerId(bearerToken);
return ownerId;
}
}
} catch (err) {