api and lib fixes (#1643)
This commit is contained in:
@@ -12,10 +12,8 @@ export function getEvents(...args) {
|
||||
function relationalQuery(websites, start_at) {
|
||||
return prisma.client.event.findMany({
|
||||
where: {
|
||||
website: {
|
||||
id: {
|
||||
in: websites,
|
||||
},
|
||||
websiteId: {
|
||||
in: websites,
|
||||
},
|
||||
createdAt: {
|
||||
gte: start_at,
|
||||
|
||||
Reference in New Issue
Block a user