From 5d47133c8430929fa26a87f56bc79f64e2b18a3f Mon Sep 17 00:00:00 2001 From: Anna Date: Sun, 4 Sep 2022 01:25:13 -0400 Subject: [PATCH] who's jason --- client/Ui/Viewer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/Ui/Viewer.cs b/client/Ui/Viewer.cs index 9a46aff..19b76f8 100644 --- a/client/Ui/Viewer.cs +++ b/client/Ui/Viewer.cs @@ -80,7 +80,7 @@ internal class Viewer { this.Plugin.Config.ApiKey, HttpMethod.Patch, $"/messages/{message.Id}/votes", - null, + "application/json", new StringContent("1") ); }); @@ -94,7 +94,7 @@ internal class Viewer { this.Plugin.Config.ApiKey, HttpMethod.Patch, $"/messages/{message.Id}/votes", - null, + "application/json", new StringContent("-1") ); });