fix(websms): return subid from LabsMobile response in ApiSendSms

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-25 10:18:20 -05:00
co-authored by Claude Sonnet 4.6
parent c24248b2c3
commit 42dc7020fc
+1 -1
View File
@@ -196,7 +196,7 @@ func ApiSendSms(c *fiber.Ctx) error {
if err != nil {
return c.Status(500).JSON(fiber.Map{"error": errStr})
}
return c.JSON(fiber.Map{"ok": true, "id": resp.ID})
return c.JSON(fiber.Map{"ok": true, "id": resp.MsgID()})
}
func WebSmsIncomingWebhook(c *fiber.Ctx) error {