Skip to content

Commit

Permalink
fix: use no-store cache to prevent storing cache (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq-naufal authored Jul 19, 2024
1 parent 011884d commit 4f6b7cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/room/api/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const createAuth = async (userConfig = config) => {
const response = await fetcher.post('/keys/accesstoken', {
headers: { Authorization: 'Bearer ' + config.apiKey },
body: JSON.stringify(body),
cache: 'no-store',
})

const data = response.data || {}
Expand Down

0 comments on commit 4f6b7cc

Please sign in to comment.