aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/resolvers/mutation.go
diff options
context:
space:
mode:
authorSascha <GlancingMind@outlook.com>2021-03-16 15:16:24 +0100
committerSascha <GlancingMind@outlook.com>2021-03-19 17:49:40 +0100
commitc6d15bd52b415b6fbc7a63e6072472402a1491d6 (patch)
tree352545539fcf41a14bf046f659596540fde85e2b /api/graphql/resolvers/mutation.go
parent50cd1a9c177120a78e0c7f4e2f4238d2debfbfc6 (diff)
downloadgit-bug-c6d15bd52b415b6fbc7a63e6072472402a1491d6.tar.gz
Fix compilation errors
Diffstat (limited to 'api/graphql/resolvers/mutation.go')
-rw-r--r--api/graphql/resolvers/mutation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/graphql/resolvers/mutation.go b/api/graphql/resolvers/mutation.go
index 59e93cdd..60746b8b 100644
--- a/api/graphql/resolvers/mutation.go
+++ b/api/graphql/resolvers/mutation.go
@@ -100,7 +100,7 @@ func (r mutationResolver) EditComment(ctx context.Context, input models.EditComm
return nil, err
}
- op, err := b.EditCommentRaw(author, time.Now().Unix(), input.Message, input.Files, nil)
+ op, err := b.EditCommentRaw(author, time.Now().Unix(), input.Target, input.Message, nil)
if err != nil {
return nil, err
}