diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-17 19:28:37 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-17 19:28:37 +0200 |
commit | 76ac1787b8de8698b878d1837c5fa8f6fe6403fc (patch) | |
tree | 2261d605eb533bc5f037887a983da0039281c9f5 /bug/operations/add_comment.go | |
parent | 7b19b10e19e5dbbae79a47d3e4338b15b3e8d972 (diff) | |
download | git-bug-76ac1787b8de8698b878d1837c5fa8f6fe6403fc.tar.gz git-bug-76ac1787b8de8698b878d1837c5fa8f6fe6403fc.zip |
add bug status + open/close commands
Diffstat (limited to 'bug/operations/add_comment.go')
-rw-r--r-- | bug/operations/add_comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/operations/add_comment.go b/bug/operations/add_comment.go index ce33522c..2927295a 100644 --- a/bug/operations/add_comment.go +++ b/bug/operations/add_comment.go @@ -16,7 +16,7 @@ type AddCommentOperation struct { func NewAddCommentOp(author bug.Person, message string) AddCommentOperation { return AddCommentOperation{ - OpBase: bug.OpBase{OperationType: bug.ADD_COMMENT}, + OpBase: bug.OpBase{OperationType: bug.AddCommentOp}, Message: message, Author: author, Time: time.Now().Unix(), |