Skip to content

Commit bdc5984

Browse files
committed
Fixed linter error
refs TryGhost@85cce39
1 parent 85cce39 commit bdc5984

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ghost/admin/app/components/settings/staff/modals/transfer-ownership.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ export default class TransferOwnershipModal extends Component {
1313
@task({drop: true})
1414
*transferOwnershipTask() {
1515
try {
16-
const {user} = this.args.data;
17-
1816
this.dropdown.closeDropdowns();
1917

18+
const {user} = this.args.data;
19+
const url = this.ghostPaths.url.api('users', 'owner');
20+
2021
const response = yield this.ajax.put(url, {
2122
data: {
2223
owner: [{

0 commit comments

Comments
 (0)