# Voting prototype
- feat - Tampilan beranda - Tampilan status - Tampilan kontribusi - Tampilan riwayat ## No Issue
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
import prisma from "@/app/lib/prisma"
|
||||
|
||||
export async function Event_getMasterTipeAcara(){
|
||||
const data = await prisma.eventMaster_TipeAcara.findMany()
|
||||
const data = await prisma.eventMaster_TipeAcara.findMany({
|
||||
orderBy: {
|
||||
id: "asc"
|
||||
},
|
||||
where: {
|
||||
active: true
|
||||
}
|
||||
})
|
||||
return data
|
||||
}
|
||||
Reference in New Issue
Block a user