mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +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