We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85cce39 commit bdc5984Copy full SHA for bdc5984
ghost/admin/app/components/settings/staff/modals/transfer-ownership.js
@@ -13,10 +13,11 @@ export default class TransferOwnershipModal extends Component {
13
@task({drop: true})
14
*transferOwnershipTask() {
15
try {
16
- const {user} = this.args.data;
17
-
18
this.dropdown.closeDropdowns();
19
+ const {user} = this.args.data;
+ const url = this.ghostPaths.url.api('users', 'owner');
20
+
21
const response = yield this.ajax.put(url, {
22
data: {
23
owner: [{
0 commit comments