refactor: Update BodyParser constructor to accept body parameter

This commit is contained in:
windyboy
2024-07-24 16:38:22 +08:00
parent ee646d5a23
commit 6a45244694
7 changed files with 550 additions and 389 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ func (hr *HasuraRepository) CreateNew(pm *domain.ParsedMessage) error {
Message_id: pm.MessageID,
Priority_indicator: pm.PriorityIndicator,
Primary_address: pm.PrimaryAddress,
Secondary_addresses: secondAddress,
Body_and_footer: pm.BodyAndFooter,
Secondary_addresses: string(secondAddress),
Text: pm.Text,
Body_data: bodyString,
Category: pm.Category,
Date_time: pm.DateTime,