aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/query.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-23 21:24:57 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-23 21:24:57 +0200
commit0514edad1a6ee06902841e0c903fc2a2119b7e95 (patch)
tree104279a8939034ab163cac9bfc124166d001dda7 /graphql/resolvers/query.go
parente7648996c8f278d061fe03a5c4d255049da765e5 (diff)
downloadgit-bug-0514edad1a6ee06902841e0c903fc2a2119b7e95.tar.gz
cache: maintain, write and load from disk bug excerpts
Diffstat (limited to 'graphql/resolvers/query.go')
-rw-r--r--graphql/resolvers/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/resolvers/query.go b/graphql/resolvers/query.go
index 4154964f..0e7f3a6f 100644
--- a/graphql/resolvers/query.go
+++ b/graphql/resolvers/query.go
@@ -8,7 +8,7 @@ import (
)
type rootQueryResolver struct {
- cache cache.Cacher
+ cache *cache.RootCache
}
func (r rootQueryResolver) DefaultRepository(ctx context.Context) (*models.Repository, error) {