refactor(lib): organize modules by feature
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { getServerSession } from "next-auth";
|
||||
import { authOptions } from "@/lib/auth-options";
|
||||
import { authOptions } from "@/lib/auth/auth-options";
|
||||
import {
|
||||
getAdminDiscordIds,
|
||||
getSessionDiscordId,
|
||||
} from "@/lib/auth";
|
||||
import { isSseTopic, sse } from "@/lib/sse";
|
||||
} from "@/lib/auth/auth";
|
||||
import { isSseTopic, sse } from "@/lib/realtime/sse";
|
||||
|
||||
export async function GET(
|
||||
request: Request,
|
||||
|
||||
Reference in New Issue
Block a user