Skip to content

Commit

Permalink
Add option to fetch UUID via userinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
ttefke committed Apr 1, 2024
1 parent 6b518a6 commit 1b72be8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extensions/userinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import (
)

type UserInfo struct {
Exists bool `json:"exists"`
IsAdmin bool `json:"isAdmin"`
Exists bool `json:"exists"`
IsAdmin bool `json:"isAdmin"`
UUID string `json:"uuid"`
}

func GetUserInfo(url string) (UserInfo, error) {
Expand Down

0 comments on commit 1b72be8

Please sign in to comment.