Fix: Avatar
Deskripsi: - Avatar job - Avatar collaboration - Avatar event ## No Issuue
This commit is contained in:
@@ -16,7 +16,7 @@ export async function vote_getAllListKontribusiByAuthorId({
|
||||
take: takeData,
|
||||
skip: skipData,
|
||||
orderBy: {
|
||||
createdAt: "asc",
|
||||
createdAt: "desc",
|
||||
},
|
||||
where: {
|
||||
authorId: userLoginId,
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user