mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Fix CQ
This commit is contained in:
parent
2f551be1be
commit
5282c8b8c6
@ -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
|
||||
|
@ -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}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user