Skip to content

Commit

Permalink
A last try
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-blomlof committed May 31, 2024
1 parent 0d76f8b commit e2a4c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/src/routes/login/[token]/+page.server.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('./$types').PageLoad} */
export async function load({ fetch, params }) {
const res = await fetch(`https://api.tv.betasektionen.se/JwtToken/IssueNewToken/${params.id}`, {
const res = await fetch('https://api.tv.betasektionen.se/JwtToken/IssueNewToken/${params.token}', {
method: 'POST'
});
const item = await res.json();
Expand Down

0 comments on commit e2a4c8b

Please sign in to comment.