Skip to content

Commit

Permalink
Add send_catalog to metadata map
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Oct 27, 2023
1 parent 0e15e47 commit d347cf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/models/msgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,8 @@ func newOutgoingMsgCatalog(rt *runtime.Runtime, org *Org, channel *Channel, cont
if msgCatalog.Action() != "" {
metadata["action"] = msgCatalog.Action()
}
metadata["send_catalog"] = msgCatalog.SendCatalog()

m.Metadata = null.NewMap(metadata)
}

Expand Down

0 comments on commit d347cf4

Please sign in to comment.