fix paynym headers bug

This commit is contained in:
sneurlax 2023-09-13 16:49:04 -05:00
parent 7370ef1148
commit 88f805230c

View file

@ -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);