Skip to content

Commit ab738ea

Browse files
committed
chore: remove extra func
1 parent a05a532 commit ab738ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

api/helpers/helpers.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ func Store(r *http.Request) db.Store {
1212
return GetFromContext(r, "store").(db.Store)
1313
}
1414

15-
func TerraformStore(r *http.Request) db.TerraformStore {
16-
return GetFromContext(r, "store").(db.TerraformStore)
17-
}
18-
1915
func isXHR(w http.ResponseWriter, r *http.Request) bool {
2016
accept := r.Header.Get("Accept")
2117
return !strings.Contains(accept, "text/html")

0 commit comments

Comments
 (0)