Merge pull request #298 from bipproduction/amalia/09-okt-24

fix: tgl diskusi
This commit is contained in:
Amalia
2024-10-09 13:47:43 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ export async function GET(request: Request, context: { params: { id: string } })
allData = diskusi.map((v: any) => ({
..._.omit(v, ["createdAt", "User"]),
date: moment(v.dateStart).format("ll"),
date: moment(v.createdAt).format("ll"),
user: v.User.name
}))
}

View File

@@ -420,7 +420,7 @@ export async function GET(request: Request) {
allData = data.map((v: any) => ({
..._.omit(v, ["createdAt", "User"]),
date: moment(v.dateStart).format("ll"),
date: moment(v.createdAt).format("ll"),
user: v.User.name
}))
} else if (kategori == "header") {