1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00
This commit is contained in:
ansel 2022-09-27 19:40:18 +03:00
parent 2f551be1be
commit 5282c8b8c6
2 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ namespace osu.Game.Tests.Visual.Online
if (!(request is CommentDeleteRequest req))
return false;
if (req.ID != 1)
if (req.CommentId != 1)
return false;
CommentBundle cb = new CommentBundle

View File

@ -9,11 +9,11 @@ namespace osu.Game.Online.API.Requests
{
public class CommentDeleteRequest : APIRequest<CommentBundle>
{
public readonly long ID;
public readonly long CommentId;
public CommentDeleteRequest(long id)
{
this.ID = id;
CommentId = id;
}
protected override WebRequest CreateWebRequest()
@ -23,6 +23,6 @@ namespace osu.Game.Online.API.Requests
return req;
}
protected override string Target => $@"comments/{ID}";
protected override string Target => $@"comments/{CommentId}";
}
}