We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a9ed66 commit c50b92fCopy full SHA for c50b92f
oauth2/client_impl.go
@@ -158,6 +158,6 @@ func newSession(accessToken discord.AccessTokenResponse) Session {
158
RefreshToken: accessToken.RefreshToken,
159
Scopes: accessToken.Scope,
160
TokenType: accessToken.TokenType,
161
- Expiration: time.Now().Add(accessToken.ExpiresIn * time.Second),
+ Expiration: time.Now().Add(accessToken.ExpiresIn),
162
}
163
0 commit comments