Skip to content

Commit

Permalink
No cache oauth token
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Apr 25, 2024
1 parent 8c01aa3 commit eb60576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/drupal/get-access-token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const getAccessToken = async (previewMode: boolean = false): Promise<Acce
method: "POST",
headers: {Authorization: `Basic ${basic}`, "Content-Type": "application/x-www-form-urlencoded"},
body: "grant_type=client_credentials",
next: {revalidate: 300}
cache: "no-cache"
}
)

Expand Down

0 comments on commit eb60576

Please sign in to comment.