Skip to content

Commit 25f682c

Browse files
authored
Fixed typo in query param
1 parent 8f5558c commit 25f682c

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)