chore(per-instance-hook-scoping): archive verified+synced change
Move to openspec/changes/archive/2026-07-09-per-instance-hook-scoping/ (R100 renames preserved). 9 artifacts. Canonical openspec/specs/ service-instance-scoping/ remains. Resolves multi-instance wrong-data bug (hooks now scope by instance.id; instance switcher re-scopes). Carry-overs: fetchBackupDashboard untouched (design decision 5); subquery scoping for runs/alerts (schema asymmetry).
This commit is contained in:
@@ -6,7 +6,9 @@ import type {
|
||||
BackupRun,
|
||||
} from "../types/backups";
|
||||
|
||||
export async function fetchBackupJobs(serviceId?: string): Promise<BackupJob[]> {
|
||||
export async function fetchBackupJobs(
|
||||
serviceId?: string,
|
||||
): Promise<BackupJob[]> {
|
||||
return get<BackupJob[]>(
|
||||
"/api/backups/jobs",
|
||||
serviceId ? { service_id: serviceId } : undefined,
|
||||
|
||||
Reference in New Issue
Block a user