easy fix (#11054)
This commit is contained in:
1 parent
97f2cffd1f
commit
ac817b3542
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user