Fixing query
1 files changed, 1 insertions(+), 1 deletions(-) M logic.go
M logic.go => logic.go +1 -1
@@ 25,7 25,7 @@ func OAuth2(ctx context.Context, token string, fetch gobwebs.UserFetch) (*TokenU hash := sha512.Sum512([]byte(token)) hashStr := hex.EncodeToString(hash[:]) opts := &database.FilterOptions{ Filter: sq.Eq{"hash": hashStr}, Filter: sq.Eq{"token_hash": hashStr}, } grants, err := GetGrants(ctx, opts) if err != nil {