Skip to content

Commit

Permalink
[bugfix] Account for nil reply when serializing int req (#3389)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmethurst authored Oct 5, 2024
1 parent d3d6e3f commit 37a3d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/typeutils/internaltofrontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -2711,7 +2711,7 @@ func (c *Converter) InteractionReqToAPIInteractionReq(
}

var reply *apimodel.Status
if req.InteractionType == gtsmodel.InteractionReply {
if req.InteractionType == gtsmodel.InteractionReply && req.Reply != nil {
reply, err = c.statusToAPIStatus(
ctx,
req.Reply,
Expand Down

0 comments on commit 37a3d22

Please sign in to comment.