mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +00:00
fix paynym headers bug
This commit is contained in:
parent
7370ef1148
commit
88f805230c
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ class HTTP {
|
|||
);
|
||||
|
||||
if (headers != null) {
|
||||
headers.forEach((key, value) => request.headers.add);
|
||||
headers.forEach((key, value) => request.headers.add(key, value));
|
||||
}
|
||||
|
||||
final response = await request.close();
|
||||
|
@ -87,7 +87,7 @@ class HTTP {
|
|||
);
|
||||
|
||||
if (headers != null) {
|
||||
headers.forEach((key, value) => request.headers.add);
|
||||
headers.forEach((key, value) => request.headers.add(key, value));
|
||||
}
|
||||
|
||||
request.write(body);
|
||||
|
|
Loading…
Reference in a new issue