We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 286acbb commit e106b61Copy full SHA for e106b61
src/main/java/de/kittybot/kittybot/modules/WebModule.java
@@ -187,7 +187,7 @@ public long getUserId(Context ctx){
187
}
188
189
public Guild getGuild(Context ctx){
190
- var guildId = ctx.pathParam(":guildId");
+ var guildId = ctx.pathParam("guildId");
191
if(guildId.isBlank() || !Utils.isSnowflake(guildId)){
192
throw new BadRequestResponse("Please provide a valid guild id");
193
@@ -199,7 +199,7 @@ public Guild getGuild(Context ctx){
199
200
201
public long getTagId(Context ctx){
202
- var tagId = ctx.pathParam(":tagId");
+ var tagId = ctx.pathParam("tagId");
203
try{
204
return Long.parseLong(tagId);
205
0 commit comments