Make comment ID public for test

This commit is contained in:
ansel 2022-09-27 19:02:18 +03:00
parent 60ee813e45
commit 5da7cb5397

View File

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