From 347b20fc91505584bc9efbeca89590a411b95e79 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Tue, 6 May 2025 12:40:47 +0200 Subject: All: Run modernize --test --fix --- types/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'types/server/server.go') diff --git a/types/server/server.go b/types/server/server.go index 5d5d4ca..3b0d374 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -61,7 +61,7 @@ type RequiredAskTransition struct { C *cookie.Cookie `json:"cookie,omitempty"` // Data is the data associated to the transition, e.g. the list of profiles (Profiles struct) // or the list of secure internet locations ([]string) - Data interface{} `json:"data"` + Data any `json:"data"` } // Expiry is the struct that gives the time at which certain expiry elements should be shown -- cgit v1.2.3