diff options
author | 2021-10-13 13:50:24 +0200 | |
---|---|---|
committer | 2021-10-13 13:50:24 +0200 | |
commit | a07e62e49e1e31ea8809816072d4bc908a73321e (patch) | |
tree | d10a516c2935a9b0e1ddc247492d0b0088c18a4d /internal/oauth/tokenstore.go | |
parent | add new logo + credits (#277) (diff) | |
download | gotosocial-a07e62e49e1e31ea8809816072d4bc908a73321e.tar.xz |
go fmt (#278)
Diffstat (limited to 'internal/oauth/tokenstore.go')
-rw-r--r-- | internal/oauth/tokenstore.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/oauth/tokenstore.go b/internal/oauth/tokenstore.go index a198b0111..d4cbbf155 100644 --- a/internal/oauth/tokenstore.go +++ b/internal/oauth/tokenstore.go @@ -35,7 +35,7 @@ import ( // tokenStore is an implementation of oauth2.TokenStore, which uses our db interface as a storage backend. type tokenStore struct { oauth2.TokenStore - db db.Basic + db db.Basic } // newTokenStore returns a token store that satisfies the oauth2.TokenStore interface. @@ -44,7 +44,7 @@ type tokenStore struct { // the tokens in the DB once per minute and deletes any that have expired. func newTokenStore(ctx context.Context, db db.Basic) oauth2.TokenStore { ts := &tokenStore{ - db: db, + db: db, } // set the token store to clean out expired tokens once per minute, or return if we're done |