File tree Expand file tree Collapse file tree
src/main/java/dev/zenith/web/command Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public class WebAPICommand extends Command {
2020 @ Override
2121 public CommandUsage commandUsage () {
2222 return CommandUsage .builder ()
23- .name ("webapi " )
23+ .name ("webApi " )
2424 .category (CommandCategory .MODULE )
2525 .description ("""
2626 Manages the HTTP web API for interacting with this ZenithProxy instance.
@@ -35,7 +35,7 @@ public CommandUsage commandUsage() {
3535
3636 @ Override
3737 public LiteralArgumentBuilder <CommandContext > register () {
38- return command ("webapi " ).requires (Command ::validateAccountOwner )
38+ return command ("webApi " ).requires (Command ::validateAccountOwner )
3939 .then (argument ("toggle" , toggle ()).executes (c -> {
4040 PLUGIN_CONFIG .enabled = getToggle (c , "toggle" );
4141 if (PLUGIN_CONFIG .enabled ) {
You can’t perform that action at this time.
0 commit comments