DEV: Update code for eslint object-shorthand-rule (#93)

diff --git a/assets/javascripts/discourse/models/admin-subscription.js.es6 b/assets/javascripts/discourse/models/admin-subscription.js.es6
index b20625e..a8a5768 100644
--- a/assets/javascripts/discourse/models/admin-subscription.js.es6
+++ b/assets/javascripts/discourse/models/admin-subscription.js.es6
@@ -21,7 +21,7 @@ const AdminSubscription = EmberObject.extend({
 
   destroy(refund) {
     const data = {
-      refund: refund,
+      refund,
     };
     return ajax(`/s/admin/subscriptions/${this.id}`, {
       method: "delete",
diff --git a/assets/javascripts/discourse/models/transaction.js.es6 b/assets/javascripts/discourse/models/transaction.js.es6
index dc52e55..08fe6a7 100644
--- a/assets/javascripts/discourse/models/transaction.js.es6
+++ b/assets/javascripts/discourse/models/transaction.js.es6
@@ -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 });

GitHub sha: e8621cf5d1aa50acd25fe9d4abc9afedfc2c718a

This commit appears in #93 which was approved by SamSaffron. It was merged by SamSaffron.