Skip to content

Commit 1b72be8

Browse files
committed
Add option to fetch UUID via userinfo
1 parent 6b518a6 commit 1b72be8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

extensions/userinfo.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
)
77

88
type UserInfo struct {
9-
Exists bool `json:"exists"`
10-
IsAdmin bool `json:"isAdmin"`
9+
Exists bool `json:"exists"`
10+
IsAdmin bool `json:"isAdmin"`
11+
UUID string `json:"uuid"`
1112
}
1213

1314
func GetUserInfo(url string) (UserInfo, error) {

0 commit comments

Comments
 (0)