parent
33008b0b47
commit
e8621cf5d1
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue