Skip to content

Scheduling infrastructure for absolutely everyone.

easy fix (#11054)

alannncac817b354229
diff --git a/packages/app-store/paypal/lib/Paypal.ts b/packages/app-store/paypal/lib/Paypal.ts
index 46450618871..f011bca5217 100644
--- a/packages/app-store/paypal/lib/Paypal.ts
+++ b/packages/app-store/paypal/lib/Paypal.ts
@@ -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,