fix(sendFunds): set body undefined

This commit is contained in:
Luke Bennett 2021-06-14 23:15:13 +01:00
parent 451cff7fc0
commit 91ccc8324f
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A

View file

@ -41,7 +41,7 @@ export class CCashClient implements ICCashClient {
amount: number amount: number
): Promise<number> { ): Promise<number> {
return this.http return this.http
.post(`/${user}/send/${to}`, { .post(`/${user}/send/${to}`, undefined, {
headers: { Password: pass }, headers: { Password: pass },
params: { amount }, params: { amount },
}) })