diff options
author | Michael Hunteman <michael@huntm.net> | 2024-07-06 12:17:54 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-07-06 12:17:54 -0700 |
commit | b9b8099da1a098300d11e0f479d56e24e363e076 (patch) | |
tree | ec16d05e7d6f39edbd1bc3d74e30ad102a6f5cc9 /server/guests | |
parent | 07752babb4e692452e1cd7f2133c4d8dde1b3b1c (diff) |
Secure PUT endpoint
Diffstat (limited to 'server/guests')
-rw-r--r-- | server/guests/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/guests/models.go b/server/guests/models.go index 5915f81..bcc6a52 100644 --- a/server/guests/models.go +++ b/server/guests/models.go @@ -24,7 +24,7 @@ type Credentials struct { } type Claims struct { - Guest Guest `json:"guest"` + Credentials Credentials `json:"credentials"` jwt.RegisteredClaims } |