lib/imperituroard/projects/mhub/subs/dabrab/dabrab_proced.rb in imperituroard-1.1.22 vs lib/imperituroard/projects/mhub/subs/dabrab/dabrab_proced.rb in imperituroard-1.1.23

- old
+ new

@@ -169,10 +169,10 @@ #p "send_responce_formatter(hub_answer)" #p hub_answer for a in hub_answer[:body][:res_body]["messages"] status1 = {} - if a["processed"] == true && a["accepted"] == true + if a['accepted'] status1 = {"to": {"phoneNumber": a["phone_number"]}, "status": {"groupId": 1, "groupName": "PENDING", "id": 26, "name": "MESSAGE_ACCEPTED",