Commit 9cd7db59 authored by Mark Harding's avatar Mark Harding

(chore): use new more restful endpoints

1 merge request!508Epic/37 wire
Pipeline #78971553 running with stages
......@@ -101,7 +101,7 @@ export class WalletUSDOnboardingComponent implements OnInit {
this.error = '';
try {
const response = <any>await this.client.post('api/v2/wallet/usd/onboarding', this.form.value)
const response = <any>await this.client.put('api/v2/wallet/usd', this.form.value)
this.inProgress = false;
if (!this.minds.user.programs)
......@@ -129,7 +129,7 @@ export class WalletUSDOnboardingComponent implements OnInit {
this.inProgress = true;
this.error = '';
this.client.post('api/v2/wallet/usd/update', this.form.value)
this.client.post('api/v2/wallet/usd', this.form.value)
.then((response: any) => {
this.inProgress = false;
this.completed.emit(response);
......
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