diff options
Diffstat (limited to 'bug/op_add_comment.go')
-rw-r--r-- | bug/op_add_comment.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go index 59ea08e0..095b7f43 100644 --- a/bug/op_add_comment.go +++ b/bug/op_add_comment.go @@ -136,6 +136,9 @@ type AddCommentTimelineItem struct { CommentTimelineItem } +// Sign post method for gqlgen +func (a *AddCommentTimelineItem) IsAuthored() {} + // Convenience function to apply the operation func AddComment(b Interface, author identity.Interface, unixTime int64, message string) (*AddCommentOperation, error) { return AddCommentWithFiles(b, author, unixTime, message, nil) @@ -149,6 +152,3 @@ func AddCommentWithFiles(b Interface, author identity.Interface, unixTime int64, b.Append(addCommentOp) return addCommentOp, nil } - -// Sign post method for gqlgen -func (item *AddCommentTimelineItem) IsAuthored() {} |