aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/preferences
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-07-25 00:19:44 -0700
committerFuwn <[email protected]>2024-07-25 00:20:23 -0700
commit2d9235070856c0a5032ddf47f7b1dc7cc5cceb60 (patch)
tree4677f0355872a0f7f55d38a372ec5e3870771182 /src/routes/api/preferences
parentfeat(notifications): allow unsubscribe (diff)
downloaddue.moe-2d9235070856c0a5032ddf47f7b1dc7cc5cceb60.tar.xz
due.moe-2d9235070856c0a5032ddf47f7b1dc7cc5cceb60.zip
refactor(Database): separate providers
Diffstat (limited to 'src/routes/api/preferences')
-rw-r--r--src/routes/api/preferences/+server.ts2
-rw-r--r--src/routes/api/preferences/pin/+server.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/api/preferences/+server.ts b/src/routes/api/preferences/+server.ts
index 37e8af29..9de8ae8e 100644
--- a/src/routes/api/preferences/+server.ts
+++ b/src/routes/api/preferences/+server.ts
@@ -7,7 +7,7 @@ import {
toggleHideAWCBadges,
togglePinnedBadgeWallCategory,
setPinnedBadgeWallCategories
-} from '$lib/Database/userPreferences';
+} from '$lib/Database/Supabase/userPreferences';
const unauthorised = new Response('Unauthorised', { status: 401 });
diff --git a/src/routes/api/preferences/pin/+server.ts b/src/routes/api/preferences/pin/+server.ts
index 90dfce62..3b17a4ed 100644
--- a/src/routes/api/preferences/pin/+server.ts
+++ b/src/routes/api/preferences/pin/+server.ts
@@ -1,5 +1,5 @@
import { userIdentity } from '$lib/Data/AniList/identity';
-import { toggleHololiveStreamPinning } from '$lib/Database/userPreferences';
+import { toggleHololiveStreamPinning } from '$lib/Database/Supabase/userPreferences';
const unauthorised = new Response('Unauthorised', { status: 401 });