Fixed linter error

refs 85cce39af7
This commit is contained in:
Kevin Ansfield 2022-10-03 21:20:37 +01:00
parent 85cce39af7
commit bdc5984cdc

View File

@ -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: [{