diff options
Diffstat (limited to 'graphql/handler.go')
-rw-r--r-- | graphql/handler.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql/handler.go b/graphql/handler.go index 89ef3801..0f2aaad8 100644 --- a/graphql/handler.go +++ b/graphql/handler.go @@ -11,7 +11,7 @@ import ( type Handler struct { handler *graphqlHandler.Handler - cache cache.Cache + cache cache.Cacher } func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { @@ -32,7 +32,7 @@ func NewHandler(repo repository.Repo) (*Handler, error) { GraphiQL: true, }) - c := cache.NewDefaultCache() + c := cache.NewCache() c.RegisterDefaultRepository(repo) return &Handler{ |