mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
parent
85cce39af7
commit
bdc5984cdc
@ -13,10 +13,11 @@ export default class TransferOwnershipModal extends Component {
|
||||
@task({drop: true})
|
||||
*transferOwnershipTask() {
|
||||
try {
|
||||
const {user} = this.args.data;
|
||||
|
||||
this.dropdown.closeDropdowns();
|
||||
|
||||
const {user} = this.args.data;
|
||||
const url = this.ghostPaths.url.api('users', 'owner');
|
||||
|
||||
const response = yield this.ajax.put(url, {
|
||||
data: {
|
||||
owner: [{
|
||||
|
Loading…
Reference in New Issue
Block a user