diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-10 19:03:17 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-10 19:09:20 +0200 |
commit | 2dcd06d1e722a81d00fd7f9ef0a62c72b20fac6b (patch) | |
tree | 57b025d2500304bdd658affe70de137dbff6b78d /bug/operations/add_comment.go | |
parent | 9bb980e9de1ec3764069ae70baf0c2458e7c35a4 (diff) | |
download | git-bug-2dcd06d1e722a81d00fd7f9ef0a62c72b20fac6b.tar.gz |
bug: ensure that OpBase field are public and properly serialized
fix #37
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 5ecc471a..b4126a8e 100644 --- a/bug/operations/add_comment.go +++ b/bug/operations/add_comment.go @@ -21,7 +21,7 @@ func (op AddCommentOperation) Apply(snapshot bug.Snapshot) bug.Snapshot { Message: op.Message, Author: op.Author, Files: op.files, - UnixTime: op.UnixTime(), + UnixTime: op.UnixTime, } snapshot.Comments = append(snapshot.Comments, comment) |