From b941685f5060777a800b360953d461190605bf4f Mon Sep 17 00:00:00 2001 From: Artem Poltorzhitskiy Date: Tue, 5 Sep 2023 00:57:30 +0400 Subject: [PATCH] Fix: ticket updates API (#989) --- cmd/api/handlers/tickets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/api/handlers/tickets.go b/cmd/api/handlers/tickets.go index 20fea5b50..2bcea2963 100644 --- a/cmd/api/handlers/tickets.go +++ b/cmd/api/handlers/tickets.go @@ -109,7 +109,7 @@ func prepareTicketUpdates(ctx *config.Context, updates []ticket.TicketUpdate, ha if err != nil { return nil, err } - hash = operation.Hash + update.OperationHash = encoding.MustEncodeOperationHash(operation.Hash) } if len(hash) > 0 { update.OperationHash = encoding.MustEncodeOperationHash(hash)