summaryrefslogtreecommitdiff
path: root/types/server
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 12:40:47 +0200
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 12:40:47 +0200
commit347b20fc91505584bc9efbeca89590a411b95e79 (patch)
tree9dfc600e957c4a881115f8bc8a9cc107a4f0cc9c /types/server
parent9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 (diff)
All: Run modernize --test --fix
Diffstat (limited to 'types/server')
-rw-r--r--types/server/server.go2
1 files changed, 1 insertions, 1 deletions
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