From 1dad15698845d370e998f7cc5feb8aece3fab58f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 17:05:17 -0400 Subject: refactor: remove dead code, consolidate save/error handling, add lint gate --- internal/admin/api_items_undo_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/admin/api_items_undo_test.go') diff --git a/internal/admin/api_items_undo_test.go b/internal/admin/api_items_undo_test.go index 3ccbe10..d554bc6 100644 --- a/internal/admin/api_items_undo_test.go +++ b/internal/admin/api_items_undo_test.go @@ -31,7 +31,7 @@ func TestAccountAPIRedactsMultilinePasswordHash(t *testing.T) { s := &AdminServer{accountStore: player.NewAccountStore(dir)} rr := httptest.NewRecorder() - s.getAccount(rr, httptest.NewRequest("GET", "/api/players/account/alice", nil), "alice") + s.getAccount(rr, "alice") if strings.Contains(rr.Body.String(), "sensitive-hash-sentinel") { t.Fatalf("password hash leaked in response: %s", rr.Body.String()) -- cgit v1.2.3