mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Make comment ID public for test
This commit is contained in:
parent
60ee813e45
commit
5da7cb5397
@ -9,11 +9,11 @@ namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class CommentDeleteRequest : APIRequest<CommentBundle>
|
||||
{
|
||||
private readonly long id;
|
||||
public readonly long ID;
|
||||
|
||||
public CommentDeleteRequest(long id)
|
||||
{
|
||||
this.id = id;
|
||||
this.ID = 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/{ID}";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user