fix: new linting errors
All checks were successful
Build Docker Image / Build-Docker-Image (push) Successful in 1m34s
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m33s

This commit was merged in pull request #351.
This commit is contained in:
2025-11-05 07:00:49 +01:00
parent 6e5b4a7b3d
commit d3ce7d5ac3
2 changed files with 20 additions and 13 deletions

View File

@@ -152,7 +152,7 @@ func getTokenAttribute(t *testing.T, data *html.Node) string {
for _, attr := range data.Attr {
if attr.Key == "hx-headers" {
var data map[string]interface{}
var data map[string]any
err := json.Unmarshal([]byte(attr.Val), &data)
require.NoError(t, err)
result, ok := data["Csrf-Token"].(string)