mirror of
https://github.com/safing/portbase
synced 2025-09-01 18:19:57 +00:00
Fix api endpoint description
This commit is contained in:
parent
f57c4a4874
commit
22cd112eaf
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ func registerModulesEndpoints() error {
|
|||
Path: "modules/{moduleName:.+}/trigger/{eventName:.+}",
|
||||
Write: PermitSelf,
|
||||
ActionFunc: triggerEvent,
|
||||
Name: "Export Configuration Options",
|
||||
Description: "Returns a list of all registered configuration options and their metadata. This does not include the current active or default settings.",
|
||||
Name: "Trigger Event",
|
||||
Description: "Triggers an event of an internal module.",
|
||||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue