Skip to content

Commit 2e09bed

Browse files
committed
Use "content" instead of "reason" for createReport
1 parent 07b19de commit 2e09bed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/namelessmc/NamelessAPI/NamelessPlayer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public void createReport(UUID reportedUuid, String reportedUsername, String reas
281281
.add("reporter_uuid", uuid)
282282
.add("reported_uuid", reportedUuid)
283283
.add("reported_username", reportedUsername)
284-
.add("reason", reason)
284+
.add("content", reason)
285285
.build();
286286
Request request = new Request(baseUrl, Action.CREATE_REPORT, parameters);
287287
request.connect();

0 commit comments

Comments
 (0)