File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/de/kittybot/kittybot/modules Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,13 +95,13 @@ public void onEnable(){
95
95
before ("/*" , this ::checkDiscordLogin );
96
96
get (new GetUserInfoRoute (this .modules ));
97
97
});
98
- path ("/webhooks/votes/: botlist" , () ->
98
+ path ("/webhooks/votes/{ botlist} " , () ->
99
99
post (new PostVotesRoute (this .modules ))
100
100
);
101
101
path ("/guilds" , () -> {
102
102
before ("/*" , this ::checkDiscordLogin );
103
103
get (new GetAllGuildsRoute (this .modules ));
104
- path ("/: guildId" , () -> {
104
+ path ("/{ guildId} " , () -> {
105
105
before ("/*" , this ::checkGuildPerms );
106
106
path ("/roles" , () ->
107
107
get (new GetRolesRoute (this .modules ))
@@ -120,7 +120,7 @@ public void onEnable(){
120
120
);
121
121
path ("/tags" , () -> {
122
122
get (new GetTagsRoute (this .modules ));
123
- path ("/: tagId" , () -> {
123
+ path ("/{ tagId} " , () -> {
124
124
post (new PostTagRoute (this .modules ));
125
125
delete (new DeleteTagRoute (this .modules ));
126
126
});
You can’t perform that action at this time.
0 commit comments