diff --git a/cmd/routed/storage.go b/cmd/routed/storage.go index a3fe07b..260f9a0 100644 --- a/cmd/routed/storage.go +++ b/cmd/routed/storage.go @@ -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 }