Commit cde37326 authored by Ben Hayward's avatar Ben Hayward

formatting

1 merge request!460WIP: [Sprint/JollyJellyfish](feat) Plus tiers engine#578
Pipeline #74203978 failed with stages
in 9 minutes and 31 seconds
......@@ -70,7 +70,6 @@ export class PlusSubscriptionComponent {
}
async purchase(amount: number = 20, period: 'month' | 'year' = 'month') {
console.log("Purchased");
if (!this.session.isLoggedIn()) {
this.modal.open();
return;
......
......@@ -40,6 +40,7 @@ export class WireCreatorComponent {
payloadType: 'onchain',
guid: null,
recurring: false,
// Payment
payload: null
};
......
......@@ -23,7 +23,7 @@ export interface WireStruc {
guid: any;
recurring: boolean;
payload: any;
period: string | null;
period: string;
}
@Component({
......@@ -73,7 +73,6 @@ export class WirePaymentsCreatorComponent {
tokenRate: number;
tier: string = '';
defaultAmount: number | '' = this.wire.amount;
protected submitted: boolean;
......@@ -83,8 +82,6 @@ export class WirePaymentsCreatorComponent {
this.wire.recurring = true;
this.wire.guid = payment.entity_guid;
this.receiver = payment.receiver;
this.wire.period = payment.period
this.tier = payment.period;
}
_opts: any;
......@@ -386,7 +383,7 @@ export class WirePaymentsCreatorComponent {
}
}
let { done } = await this.wireService.submitWire(this.wire, this.tier);
let { done } = await this.wireService.submitWire(this.wire);
if (done) {
this.success = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment