Skip to content

Commit

Permalink
omit credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
crlnravel committed Jan 1, 2025
1 parent a85dfbe commit f88b6fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/openReg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ export async function useOpenReg(

const response = await fetch(`${API_URL}user/daftar-peserta`, {
method: "POST",
credentials: "omit",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${token}`,
Expand Down

0 comments on commit f88b6fd

Please sign in to comment.