7.1 게시글 CRUD API 및 페이지 연동 o
This commit is contained in:
@@ -48,6 +48,7 @@ export async function GET(req: Request) {
|
||||
}
|
||||
const { page, pageSize, boardId, q, sort = "recent" } = parsed.data;
|
||||
const where = {
|
||||
NOT: { status: "deleted" as const },
|
||||
...(boardId ? { boardId } : {}),
|
||||
...(q
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user