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/label_change.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/label_change.go')
-rw-r--r-- | operations/label_change.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/operations/label_change.go b/operations/label_change.go index 551b8be0..26e7e94c 100644 --- a/operations/label_change.go +++ b/operations/label_change.go @@ -14,8 +14,8 @@ var _ bug.Operation = LabelChangeOperation{} // LabelChangeOperation define a Bug operation to add or remove labels type LabelChangeOperation struct { bug.OpBase - Added []bug.Label - Removed []bug.Label + Added []bug.Label `json:"added"` + Removed []bug.Label `json:"removed"` } // Apply apply the operation |