From 88f805230c588e9ac2f40814c8c2979056445bac Mon Sep 17 00:00:00 2001 From: sneurlax Date: Wed, 13 Sep 2023 16:49:04 -0500 Subject: [PATCH] fix paynym headers bug --- lib/networking/http.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/networking/http.dart b/lib/networking/http.dart index e6b3b22c5..ad15b659c 100644 --- a/lib/networking/http.dart +++ b/lib/networking/http.dart @@ -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);