Skip to content

Commit

Permalink
Merge pull request #63 from bitcoin-sv/fix/sign-out-is-not-working
Browse files Browse the repository at this point in the history
fix: signing out a user
  • Loading branch information
dorzepowski authored Feb 16, 2024
2 parents 5d0a676 + 4628880 commit 4de044e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/requests/Logout.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import axios from 'axios'

export const logoutUser = async (apiUrl: string) => {
await axios.post(`${apiUrl}/sign-out`, { withCredentials: true })
await axios.post(`${apiUrl}/sign-out`, null, { withCredentials: true })
}

0 comments on commit 4de044e

Please sign in to comment.