Skip to content

Commit

Permalink
Update endpoints to match the changes on the backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirze01 committed Jul 22, 2023
1 parent fa4e2be commit 0bd8d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let message = '';
async function submitLogin() {
const success = await fetch('/api/auth/new', {
const success = await fetch('/api/auth', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down

0 comments on commit 0bd8d03

Please sign in to comment.