easy fix (#11054)
parent
97f2cffd1f
commit
ac817b3542
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue