join #13

Merged
amaliadwiy merged 56 commits from join into staging 2026-02-09 11:12:29 +08:00
50 changed files with 734 additions and 260 deletions
Showing only changes of commit 4a4be31921 - Show all commits

View File

@@ -3,8 +3,8 @@ import { funGetUserByCookies } from "@/module/auth";
import { createLogUser } from "@/module/user"; import { createLogUser } from "@/module/user";
import _ from "lodash"; import _ from "lodash";
import moment from "moment"; import moment from "moment";
import { NextResponse } from "next/server";
import "moment/locale/id"; import "moment/locale/id";
import { NextResponse } from "next/server";
// GET ONE DETAIL DISKUSI UMUM // GET ONE DETAIL DISKUSI UMUM
@@ -75,6 +75,9 @@ export async function GET(request: Request, context: { params: { id: string } })
img: true img: true
} }
} }
},
orderBy: {
createdAt: "asc"
} }
}) })

View File

@@ -63,6 +63,9 @@ export async function GET(request: Request, context: { params: { id: string } })
}, },
where: { where: {
isActive:true isActive:true
},
orderBy: {
createdAt: "asc"
} }
}, },
} }

View File

@@ -77,6 +77,9 @@ export async function GET(request: Request, context: { params: { id: string } })
img: true img: true
} }
} }
},
orderBy: {
createdAt: "asc"
} }
}) })

View File

@@ -54,6 +54,9 @@ export async function GET(request: Request, context: { params: { id: string } })
img: true img: true
} }
} }
},
orderBy: {
createdAt: "asc"
} }
}) })