1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 14:22:54 +08:00

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