Skip to content

Commit

Permalink
fix(stronghold): change wrong argument name for remove (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdang-crabnebula authored Jun 7, 2023
1 parent b3d7d11 commit ea63b40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/stronghold-arg-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stronghold-js": patch
---

Change the argument name of the `Stronghold.remove` from `location` to `recordPath` to match the Stronghold command argument
2 changes: 1 addition & 1 deletion plugins/stronghold/guest-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export class Vault extends ProcedureExecutor {
snapshotPath: this.path,
client: this.client,
vault: this.name,
location,
recordPath: location.payload.record,
});
}
}
Expand Down

0 comments on commit ea63b40

Please sign in to comment.