add: params contact_phone and validation resend chat wa in notif error user
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user