diff options
Diffstat (limited to '')
-rw-r--r-- | pkg/webui/states.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/webui/states.go b/pkg/webui/states.go index 0e956fb..d99d310 100644 --- a/pkg/webui/states.go +++ b/pkg/webui/states.go @@ -16,7 +16,7 @@ func handleStatesGET(db *database.DB) http.Handler { States []model.State } return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - states, err := db.LoadStatesByPath() + states, err := db.LoadStates() if err != nil { errorResponse(w, http.StatusInternalServerError, err) return |