fix invalid access token bug (#19793)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user