diff options
Diffstat (limited to 'graphql/resolvers/repo.go')
-rw-r--r-- | graphql/resolvers/repo.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphql/resolvers/repo.go b/graphql/resolvers/repo.go index 26c5ebaa..2e2872e2 100644 --- a/graphql/resolvers/repo.go +++ b/graphql/resolvers/repo.go @@ -64,3 +64,10 @@ func (repoResolver) Bug(ctx context.Context, obj *models.Repository, prefix stri return b.Snapshot(), nil } + +func (repoResolver) Mutation(ctx context.Context, obj *models.Repository) (models.RepositoryMutation, error) { + return models.RepositoryMutation{ + Repo: obj.Repo, + Cache: obj.Cache, + }, nil +} |