Skip to content

Commit

Permalink
fix: Update transfer ownership logic
Browse files Browse the repository at this point in the history
This commit fixes #2370. Instead of directly assigning the ownerId, it now uses keyValuePairs to pass the ownerId as a key-value pair.

Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Chartman123 authored and backportbot[bot] committed Oct 15, 2024
1 parent 4fc5832 commit 8fc7964
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/SidebarTabs/TransferOwnership.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ export default {
id: this.form.id,
}),
{
ownerId: this.selected.shareWith,
keyValuePairs: {
ownerId: this.selected.shareWith,
},
},
)
showSuccess(
Expand Down

0 comments on commit 8fc7964

Please sign in to comment.