Skip to content

Commit

Permalink
fix: pass cache directives to fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed Sep 15, 2023
1 parent 274bc31 commit 6386020
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sdk/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export class Unkey {
Authorization: `Bearer ${this.token}`,
},
body: JSON.stringify(req.body),
cache: req.cache
}).catch((e: Error) => {
err = e;
return null; // set `res` to `null`
Expand Down

1 comment on commit 6386020

@vercel
Copy link

@vercel vercel bot commented on 6386020 Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

unkey – ./

unkey-unkey.vercel.app
unkey.dev
unkey.vercel.app
unkey-git-main-unkey.vercel.app
www.unkey.dev

Please sign in to comment.