added data table
This commit is contained in:
@@ -133,6 +133,10 @@ export const queries = {
|
||||
return await prisma.user.findUnique({
|
||||
where: { id },
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
async fetchAllLocations() {
|
||||
return await prisma.location.findMany()
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user