Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-00012 committed Mar 28, 2024
1 parent db7b211 commit 1bcd31b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (userParam) {
if (thanksParam) query += `&thanks=${thanksParam}`
if (orderParam) query += `&order=${orderParam}`

fetch(`https://api.stefdp.is-a.dev/receiptData/last.fm/${query}`).then(res => res.json()).then(data => {
fetch(`https://api.stefdp.lol/receiptData/last.fm/${query}`).then(res => res.json()).then(data => {
if (data.message) {
console.log(data.message)
form.innerText = data.message
Expand All @@ -54,7 +54,7 @@ if (userParam) {
localStorage.removeItem(stateKey)

if (accessToken) {
fetch(`https://api.stefdp.is-a.dev/receiptData/spotify?accessToken=${accessToken}`).then(res => res.json()).then(data => {
fetch(`https://api.stefdp.lol/receiptData/spotify?accessToken=${accessToken}`).then(res => res.json()).then(data => {
if (data.message) {
console.log(data.message)
form.innerText = data.message
Expand Down

0 comments on commit 1bcd31b

Please sign in to comment.