idk but it did something
This commit is contained in:
parent
95a94bfed5
commit
fbd23fe2cf
2 changed files with 36 additions and 20 deletions
|
@ -30,10 +30,10 @@ func New(redirectUri, clientId, clientSecret string) Client {
|
|||
}
|
||||
|
||||
func (c Client) GetUser(t auth.TokenResponse) (auth.User, error) {
|
||||
user := auth.User {
|
||||
Blacklisted: false,
|
||||
CreatedAt: time.Now(),
|
||||
}
|
||||
user := auth.User{
|
||||
Blacklisted: false,
|
||||
CreatedAt: time.Now(),
|
||||
}
|
||||
|
||||
req, err := http.NewRequest(http.MethodGet, fmt.Sprintf("%s/%s", api, "users/@me"), nil)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue