This commit is contained in:
alannnc authored and GitHub committed 2023-08-31 22:44:35 +00:00
1 parent 97f2cffd1f
commit ac817b3542
1 file changed
+1 -1
+1 -1
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,