aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/preferences
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-07-25 00:24:50 -0700
committerFuwn <[email protected]>2024-07-25 00:24:50 -0700
commit17ed84c223620c23064bdcf8dabc9edd02760be8 (patch)
tree46677d07a7298f9bcb12fd0d82ca240eaea50b26 /src/routes/api/preferences
parentrefactor(Database): separate providers (diff)
downloaddue.moe-17ed84c223620c23064bdcf8dabc9edd02760be8.tar.xz
due.moe-17ed84c223620c23064bdcf8dabc9edd02760be8.zip
refactor(Database): move Supabase user modules to User module
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 9de8ae8e..b969d57c 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/Supabase/userPreferences';
+} from '$lib/Database/Supabase/User/preferences';
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 3b17a4ed..f1ac4e3d 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/Supabase/userPreferences';
+import { toggleHololiveStreamPinning } from '$lib/Database/Supabase/User/preferences';
const unauthorised = new Response('Unauthorised', { status: 401 });