Fix callback component

This commit is contained in:
2025-01-12 00:10:27 +01:00
parent 45c6628feb
commit 8551327bf0

View File

@@ -58,7 +58,7 @@ const Main = {
const AuthCallbackTwitch = {
setup() {
onMounted(() => {
fetch('/api/auth/callback/twitch/' + urlParams.search)
fetch('/api/auth/callback/twitch/' + window.location.search)
.then(response => response.json())
.then(data => {
localStorage.setItem('token', data.token);