Fix: Avatar

Deskripsi:
- Avatar job
- Avatar collaboration
- Avatar event
## No Issuue
This commit is contained in:
2024-10-01 16:31:12 +08:00
parent ca5c30499a
commit 284787243b
110 changed files with 1122 additions and 2064 deletions

View File

@@ -16,7 +16,7 @@ export async function vote_getAllListKontribusiByAuthorId({
take: takeData,
skip: skipData,
orderBy: {
createdAt: "asc",
createdAt: "desc",
},
where: {
authorId: userLoginId,

View File

@@ -4,6 +4,9 @@ import prisma from "@/app/lib/prisma";
export async function Vote_getListKontributorById(votingId: string) {
const data = await prisma.voting_Kontributor.findMany({
orderBy:{
createdAt: "desc"
},
where: {
votingId: votingId,
},