mirror of
https://github.com/Expand-sys/ccash-client-js
synced 2026-03-22 12:27:09 +11:00
fix(sendFunds): set body undefined
This commit is contained in:
parent
451cff7fc0
commit
91ccc8324f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 },
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue