Implement portal frontend for events
This commit is contained in:
@@ -54,7 +54,7 @@ export class EventsService {
|
||||
} = {}, trx?: Transaction<DB>) {
|
||||
return await (trx ?? db).selectFrom("events")
|
||||
.select([
|
||||
"id", "type", "source", "started_at", "ended_at", "available_at",
|
||||
"id", "group", "type", "source", "started_at", "ended_at", "available_at",
|
||||
"errors", "rate_limits", "has_failed", "last_error", "created_at",
|
||||
])
|
||||
.$if(opt.filter?.group !== undefined, (qb) => qb.where("group", "=", opt.filter!.group!))
|
||||
|
||||
Reference in New Issue
Block a user