Skip to content

Commit

Permalink
fix context
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Jul 21, 2023
1 parent a262860 commit 243457d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/event_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (h Handler) SendMessage(ctx context.Context, req oas.SendMessageReq) (r oas
if err := h.msgSender.SendMessage(ctx, payload); err != nil {
return &oas.InternalError{Error: err.Error()}, nil
}
go h.addToMempool(ctx, payload)
go h.addToMempool(context.Background(), payload)
return &oas.SendMessageOK{}, nil
}

Expand Down

0 comments on commit 243457d

Please sign in to comment.