refactor : change lib file path
This commit is contained in:
@@ -2,7 +2,7 @@ import { NextResponse } from "next/server";
|
||||
import { db } from "@/db";
|
||||
import { cdn } from "@/db/schema";
|
||||
import { requireDiscordId } from "@/lib/auth/auth";
|
||||
import { validateImageUploadFile, cdnUrl } from "@/lib/cdn/cdn-images";
|
||||
import { validateImageUploadFile, cdnUrl } from "@/lib/cdn-images";
|
||||
|
||||
export async function POST(req: Request) {
|
||||
let discordId: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { db } from "@/db";
|
||||
import { cdnImageResponse } from "@/lib/cdn/cdn-images";
|
||||
import { cdnImageResponse } from "@/lib/cdn-images";
|
||||
|
||||
export async function GET(
|
||||
_request: Request,
|
||||
|
||||
Reference in New Issue
Block a user