diff options
author | Julien Dessaux | 2025-01-27 22:00:51 +0100 |
---|---|---|
committer | Julien Dessaux | 2025-01-27 22:00:51 +0100 |
commit | 26e10a9399bd6185741d0912ffa54c807ffef671 (patch) | |
tree | 0cf9e81c6880b07d9c029e3abd6ee03b6a2acdb1 /pkg/webui/states.go | |
parent | chore(webui): remove redundant set of the Cache-Control header in state get h... (diff) | |
download | tfstated-26e10a9399bd6185741d0912ffa54c807ffef671.tar.gz tfstated-26e10a9399bd6185741d0912ffa54c807ffef671.tar.bz2 tfstated-26e10a9399bd6185741d0912ffa54c807ffef671.zip |
feat(webui): implement state versions list
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 |