mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 08:22:56 +08:00
Fix request
This commit is contained in:
parent
32e90829e3
commit
58bf7349ee
@ -27,7 +27,7 @@ namespace osu.Game.Online.API.Requests
|
||||
var req = base.CreateWebRequest();
|
||||
req.Method = HttpMethod.Post;
|
||||
|
||||
req.AddParameter(@"comment[commentable_type]", Commentable.ToString());
|
||||
req.AddParameter(@"comment[commentable_type]", Commentable.ToString().ToLowerInvariant());
|
||||
req.AddParameter(@"comment[commentable_id]", $"{CommentableId}");
|
||||
req.AddParameter(@"comment[message]", Message);
|
||||
if (ReplyTo.HasValue)
|
||||
|
Loading…
Reference in New Issue
Block a user