From e7648996c8f278d061fe03a5c4d255049da765e5 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 23 Aug 2018 19:19:16 +0200 Subject: bug: add a new BugExerpt that hold a subset of a bug state for efficient sorting and retrieval --- bug/operations/add_comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bug/operations/add_comment.go') diff --git a/bug/operations/add_comment.go b/bug/operations/add_comment.go index b4126a8e..5ecc471a 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) -- cgit