cmd/routed: this is the token body oops

This commit is contained in:
Cadey Ratio 2018-01-21 11:12:40 -08:00
parent 2d2f894517
commit 34eab0cf25
1 changed files with 1 additions and 1 deletions

View File

@ -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
}