cmd/routed: this is the token body oops
This commit is contained in:
parent
2d2f894517
commit
34eab0cf25
|
@ -16,7 +16,7 @@ var (
|
|||
)
|
||||
|
||||
func (s *storageWrapper) HasToken(token string) (string, []string, error) {
|
||||
t, err := s.Storage.Tokens().Get(context.Background(), token)
|
||||
t, err := s.Storage.Tokens().GetBody(context.Background(), token)
|
||||
if err != nil {
|
||||
return "", nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue