From 820eabe84bc5ca14aad16bad5693456ff7b15d9c Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Thu, 26 Feb 2026 19:38:11 +0100 Subject: [PATCH] chore: pr feedback --- app/server/utils/restic/commands/tag-snapshots.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/server/utils/restic/commands/tag-snapshots.ts b/app/server/utils/restic/commands/tag-snapshots.ts index d2e25fb7..b5e4bfcd 100644 --- a/app/server/utils/restic/commands/tag-snapshots.ts +++ b/app/server/utils/restic/commands/tag-snapshots.ts @@ -13,13 +13,13 @@ export const tagSnapshots = async ( tags: { add?: string[]; remove?: string[]; set?: string[] }, organizationId: string, ) => { - const repoUrl = buildRepoUrl(config); - const env = await buildEnv(config, organizationId); - if (snapshotIds.length === 0) { throw new Error("No snapshot IDs provided for tagging."); } + const repoUrl = buildRepoUrl(config); + const env = await buildEnv(config, organizationId); + const args: string[] = ["--repo", repoUrl, "tag", ...snapshotIds]; if (tags.add) {