Added getWebsite method.
This commit is contained in:
1 parent
0387cf0da0
commit
d8c440453c
4 files changed
+16
-6
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import prisma from 'lib/prisma';
|
||||
|
||||
export async function getWebsite(where) {
|
||||
return prisma.client.website.findUnique({
|
||||
where,
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user