aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operations/create.go')
-rw-r--r--bug/operations/create.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/operations/create.go b/bug/operations/create.go
index 4c1dd32e..0ee7e857 100644
--- a/bug/operations/create.go
+++ b/bug/operations/create.go
@@ -23,6 +23,8 @@ func (op CreateOperation) Apply(snapshot bug.Snapshot) bug.Snapshot {
UnixTime: op.UnixTime,
},
}
+ snapshot.Author = op.Author
+ snapshot.CreatedAt = op.Time()
return snapshot
}