diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-12 16:57:04 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-12 16:57:46 +0200 |
commit | 60fcfcdcb0e89741528cfc99a94a48f204d48e6b (patch) | |
tree | 48189b7f85e10b1bdf6a4b897ac0b966c4cec23c /operations/set_status.go | |
parent | 3605887345792d2f981f971c6c4a2cb7f86a343e (diff) | |
download | git-bug-60fcfcdcb0e89741528cfc99a94a48f204d48e6b.tar.gz git-bug-60fcfcdcb0e89741528cfc99a94a48f204d48e6b.zip |
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.go | 2 |
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 { |