From 34eab0cf25f591316c481ab264773a12bf18b1c3 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sun, 21 Jan 2018 11:12:40 -0800 Subject: [PATCH] cmd/routed: this is the token body oops --- cmd/routed/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }