fix: wrong table for filtering
This commit is contained in:
parent
2a92e26223
commit
5ae25af6d2
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ const listSchedules = async () => {
|
|||
|
||||
const getSchedule = async (scheduleId: number) => {
|
||||
const schedule = await db.query.backupSchedulesTable.findFirst({
|
||||
where: eq(volumesTable.id, scheduleId),
|
||||
where: eq(backupSchedulesTable.id, scheduleId),
|
||||
with: {
|
||||
volume: true,
|
||||
repository: true,
|
||||
|
|
|
|||
Loading…
Reference in a new issue