Fix required API methods

This commit is contained in:
Daniel
2021-05-11 14:56:39 +02:00
parent c3812f1c56
commit 660c1bf3c5
4 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ import (
func registerAPIEndpoints() error {
return api.RegisterEndpoint(api.Endpoint{
Path: "ui/reload",
Read: api.PermitUser,
Write: api.PermitUser,
ActionFunc: reloadUI,
})
}