Skip to content

Commit 6ebf94b

Browse files
Payments: use unnested params (#3)
1 parent 6a8fa7b commit 6ebf94b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ class Client {
6868
}
6969

7070
createAccountPayee(account, payee) {
71-
return this.post(`/accounts/${account.id}/payments/zelle/payees`, {payee});
71+
return this.post(`/accounts/${account.id}/payments/zelle/payees`, payee);
7272
}
7373

7474
createAccountPayment(account, payment) {
75-
return this.post(`/accounts/${account.id}/payments/zelle`, {payment});
75+
return this.post(`/accounts/${account.id}/payments/zelle`, payment);
7676
}
7777

7878
get(path) {

0 commit comments

Comments
 (0)