pull/11058/head
alannnc 2023-08-31 15:44:35 -07:00 committed by GitHub
parent 97f2cffd1f
commit ac817b3542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Paypal {
}
private fetcher = async (endpoint: string, init?: RequestInit | undefined) => {
this.getAccessToken();
await this.getAccessToken();
return fetch(`${this.url}${endpoint}`, {
method: "get",
...init,