Skip to content

Commit

Permalink
fix(stronghold): change wrong argument name for remove (tauri-apps#422
Browse files Browse the repository at this point in the history
)
  • Loading branch information
vdang-crabnebula authored and OrIOg committed Jun 25, 2023
1 parent 0b6228e commit 2f7e696
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 2f7e696

Please sign in to comment.