From a103dd4215b5a1c5a62ed31c5e036d0beba293cf Mon Sep 17 00:00:00 2001 From: rolljee Date: Tue, 16 Jan 2024 09:17:25 +0100 Subject: [PATCH] feat(paas): Update paas snapshot api call --- src/commands/paas/snapshots/restore.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/commands/paas/snapshots/restore.ts b/src/commands/paas/snapshots/restore.ts index f52f0405..64be1569 100644 --- a/src/commands/paas/snapshots/restore.ts +++ b/src/commands/paas/snapshots/restore.ts @@ -55,10 +55,7 @@ class PaasSnapshotsRestore extends PaasKommand { environmentId: this.args.environment, projectId: this.flags.project || this.getProject(), applicationId: this.args.applicationId, - body: { - repository: "automated", - snapshot: this.args.snapshotId, - }, + snapshotId: this.args.snapshotId }); this.logInfo("Ok");