From 5b328623b3a8f978b21d8c1fc9559b1d7d37b20f Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Sun, 12 Mar 2023 20:07:49 +0900 Subject: [PATCH] fix: set `cache: 'no-store'` --- pkg/http.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/http.ts b/pkg/http.ts index 2c39b3dd..e83bfe26 100644 --- a/pkg/http.ts +++ b/pkg/http.ts @@ -164,6 +164,7 @@ export class HttpClient implements Requester { req: UpstashRequest, ): Promise> { const requestOptions: RequestInit & { backend?: string; agent?: any } = { + cache: "no-store", method: "POST", headers: this.headers, body: JSON.stringify(req.body),