Skip to content

Commit

Permalink
fix: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Franqsanz committed Jan 30, 2024
1 parent c389067 commit 3e52522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async function deleteBook(id: string | undefined) {
async function postRegister(token: string) {
const data = await fetchData(`${API_URL}/auth/register`, {
method: 'POST',
credentials: 'include',
// credentials: 'include',
headers: {
Authorization: `Bearer ${token}`,
},
Expand Down

0 comments on commit 3e52522

Please sign in to comment.