Skip to content

Commit 6562437

Browse files
authored
Merge pull request discord-jda#652 from DV8FromTheWorld/fix/audit_log_user_id
Fixed typo in query param
2 parents 8f5558c + 25f682c commit 6562437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/dv8tion/jda/core/requests/restaction/pagination/AuditLogPaginationAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected Route.CompiledRoute finalizeRoute()
174174
route = route.withQueryParams("action_type", String.valueOf(type.getKey()));
175175

176176
if (userId != null)
177-
route = route.withQueryParams("action_type", userId);
177+
route = route.withQueryParams("user_id", userId);
178178

179179
if (last != null)
180180
route = route.withQueryParams("before", last.getId());

0 commit comments

Comments
 (0)