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") ); });