Feat/um 62 prisma property names (#1562)
* checkpoint * fix pg schema * fix mysql schema * change property names
This commit is contained in:
1 parent
36edbe2f4c
commit
78338205a3
65 files changed
+431
-433
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import prisma from 'lib/prisma';
|
||||
|
||||
export async function getWebsiteById(website_id) {
|
||||
export async function getWebsiteById(websiteId) {
|
||||
return prisma.client.website.findUnique({
|
||||
where: {
|
||||
website_id,
|
||||
id: websiteId,
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user