add: params contact_phone and validation resend chat wa in notif error user

This commit is contained in:
2026-01-01 18:31:09 +07:00
parent 889aa04808
commit bedc948a74
3 changed files with 19 additions and 12 deletions

View File

@@ -69,9 +69,9 @@ class NotificationErrorUserController {
static async resend(req, res) {
try {
const { id } = req.params;
const { id, contact_phone } = req.params;
const results = await NotificationErrorUserService.resendNotification(id);
const results = await NotificationErrorUserService.resendNotification(id, contact_phone);
const response = await setResponse(
results.data,