aboutsummaryrefslogtreecommitdiffstats
path: root/operations/set_status.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-12 16:57:04 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-12 16:57:46 +0200
commit60fcfcdcb0e89741528cfc99a94a48f204d48e6b (patch)
tree48189b7f85e10b1bdf6a4b897ac0b966c4cec23c /operations/set_status.go
parent3605887345792d2f981f971c6c4a2cb7f86a343e (diff)
downloadgit-bug-60fcfcdcb0e89741528cfc99a94a48f204d48e6b.tar.gz
bug: change the OperationPack serialization format for Json
See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
Diffstat (limited to 'operations/set_status.go')
-rw-r--r--operations/set_status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/operations/set_status.go b/operations/set_status.go
index bafcf5ee..37ebac10 100644
--- a/operations/set_status.go
+++ b/operations/set_status.go
@@ -10,7 +10,7 @@ var _ bug.Operation = SetStatusOperation{}
type SetStatusOperation struct {
bug.OpBase
- Status bug.Status
+ Status bug.Status `json:"status"`
}
func (op SetStatusOperation) Apply(snapshot bug.Snapshot) bug.Snapshot {