DEV: Update code for eslint object-shorthand-rule (#93)
See https://github.com/discourse/eslint-config-discourse/commit/4f7aba06c03fdd22bb26669aeb8ed4af3127c409
This commit is contained in:
@@ -21,7 +21,7 @@ const AdminSubscription = EmberObject.extend({
|
||||
|
||||
destroy(refund) {
|
||||
const data = {
|
||||
refund: refund,
|
||||
refund,
|
||||
};
|
||||
return ajax(`/s/admin/subscriptions/${this.id}`, {
|
||||
method: "delete",
|
||||
|
||||
@@ -3,8 +3,8 @@ import { ajax } from "discourse/lib/ajax";
|
||||
export default {
|
||||
finalize(transaction, plan) {
|
||||
const data = {
|
||||
transaction: transaction,
|
||||
plan: plan,
|
||||
transaction,
|
||||
plan,
|
||||
};
|
||||
|
||||
return ajax("/s/finalize", { method: "post", data });
|
||||
|
||||
Reference in New Issue
Block a user