diff options
| author | Fuwn <[email protected]> | 2024-08-24 02:38:40 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-08-24 02:42:01 -0700 |
| commit | 32c7545faae4f33c94a045408789c9b9ef7de53a (patch) | |
| tree | 3ce6632bd710b4453749f0e71186027683415843 /src/routes/api/events | |
| parent | feat(SequelCatcher): side stories toggle (diff) | |
| download | due.moe-32c7545faae4f33c94a045408789c9b9ef7de53a.tar.xz due.moe-32c7545faae4f33c94a045408789c9b9ef7de53a.zip | |
refactor(Data): rename database references
Diffstat (limited to 'src/routes/api/events')
| -rw-r--r-- | src/routes/api/events/+server.ts | 2 | ||||
| -rw-r--r-- | src/routes/api/events/group/+server.ts | 2 | ||||
| -rw-r--r-- | src/routes/api/events/groups/+server.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/api/events/+server.ts b/src/routes/api/events/+server.ts index b09d4e98..2f7d72d4 100644 --- a/src/routes/api/events/+server.ts +++ b/src/routes/api/events/+server.ts @@ -1,4 +1,4 @@ -import { getEvents, getGroupEvents } from '$lib/Database/Supabase/events'; +import { getEvents, getGroupEvents } from '$lib/Database/SB/events'; export const GET = async ({ url }) => Response.json( diff --git a/src/routes/api/events/group/+server.ts b/src/routes/api/events/group/+server.ts index 20637de0..430578a3 100644 --- a/src/routes/api/events/group/+server.ts +++ b/src/routes/api/events/group/+server.ts @@ -1,4 +1,4 @@ -import { getGroup } from '$lib/Database/Supabase/groups'; +import { getGroup } from '$lib/Database/SB/groups'; export const GET = async ({ url }) => Response.json(await getGroup(url.searchParams.get('slug') || '')); diff --git a/src/routes/api/events/groups/+server.ts b/src/routes/api/events/groups/+server.ts index 7ed9c344..db50d0ad 100644 --- a/src/routes/api/events/groups/+server.ts +++ b/src/routes/api/events/groups/+server.ts @@ -1,3 +1,3 @@ -import { getGroups } from '$lib/Database/Supabase/groups'; +import { getGroups } from '$lib/Database/SB/groups'; export const GET = async () => Response.json(await getGroups()); |