From f8f85a14ef17121b2accd01460d3d14f6cf28907 Mon Sep 17 00:00:00 2001 From: Timmy Lin Date: Fri, 18 Sep 2020 13:51:53 -0400 Subject: [PATCH] Add walletId & remove beneficiaryName --- lib/wiresApi.ts | 2 +- lib/wiresTestData.ts | 6 +++--- pages/debug/wires/create.vue | 12 +++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/wiresApi.ts b/lib/wiresApi.ts index f8575c4b..89750230 100644 --- a/lib/wiresApi.ts +++ b/lib/wiresApi.ts @@ -5,7 +5,7 @@ import { getAPIHostname } from './apiTarget' export interface CreateWireAccountPayload { idempotencyKey: string - beneficiaryName: string + walletId: string accountNumber?: string routingNumber?: string iban?: string diff --git a/lib/wiresTestData.ts b/lib/wiresTestData.ts index c5843a6d..5cb44b9c 100644 --- a/lib/wiresTestData.ts +++ b/lib/wiresTestData.ts @@ -2,7 +2,7 @@ export const exampleWireAccounts = [ { title: 'US Bank Account', formData: { - beneficiaryName: 'Satoshi Nakamoto', + walletId: null as any, accountNumber: '11111111111', routingNumber: '121000248', iban: '', @@ -29,7 +29,7 @@ export const exampleWireAccounts = [ { title: 'German Bank Account', formData: { - beneficiaryName: 'Satoshi Nakamoto', + walletId: null as any, accountNumber: '', routingNumber: '', iban: 'DE31100400480532013000', @@ -56,7 +56,7 @@ export const exampleWireAccounts = [ { title: 'Mexican Bank Account', formData: { - beneficiaryName: 'Satoshi Nakamoto', + walletId: null as any, accountNumber: '002010077777777771', routingNumber: 'BDEMMXMF', iban: '', diff --git a/pages/debug/wires/create.vue b/pages/debug/wires/create.vue index e59c6a65..06921ecc 100644 --- a/pages/debug/wires/create.vue +++ b/pages/debug/wires/create.vue @@ -29,8 +29,10 @@