aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/oauth/animeschedule/callback
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-02 14:11:15 -0800
committerFuwn <[email protected]>2024-01-02 14:11:15 -0800
commite7c6cd5617a69394155cdc3d6d3b9176262a817f (patch)
tree415a90fee5469d919b37df7c35ea1e1568eefc3c /src/routes/api/oauth/animeschedule/callback
parentfeat(sequelspy): media cover hover (diff)
downloaddue.moe-e7c6cd5617a69394155cdc3d6d3b9176262a817f.tar.xz
due.moe-e7c6cd5617a69394155cdc3d6d3b9176262a817f.zip
chore: remote debug logs
Diffstat (limited to 'src/routes/api/oauth/animeschedule/callback')
-rw-r--r--src/routes/api/oauth/animeschedule/callback/+server.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/routes/api/oauth/animeschedule/callback/+server.ts b/src/routes/api/oauth/animeschedule/callback/+server.ts
index 2364d071..450c74cf 100644
--- a/src/routes/api/oauth/animeschedule/callback/+server.ts
+++ b/src/routes/api/oauth/animeschedule/callback/+server.ts
@@ -11,7 +11,6 @@ export const GET = async ({ url, cookies }) => {
formData.append('client_secret', env.ANIMESCHEDULE_CLIENT_SECRET as string);
formData.append('redirect_uri', env2.PUBLIC_ANIMESCHEDULE_REDIRECT_URI as string);
formData.append('code', url.searchParams.get('code') || 'null');
- console.log('code', url.searchParams);
cookies.set(
'animeschedule',
JSON.stringify(