From 60fcfcdcb0e89741528cfc99a94a48f204d48e6b Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 12 Sep 2018 16:57:04 +0200 Subject: bug: change the OperationPack serialization format for Json See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice --- operations/set_status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'operations/set_status.go') 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 { -- cgit