lavoce #33

Merged
bragaz_rexita merged 5 commits from lavoce into main 2026-01-06 11:30:27 +00:00
2 changed files with 5 additions and 6 deletions
Showing only changes of commit 3266641f81 - Show all commits

View File

@@ -58,7 +58,7 @@ const resendNotificationToUser = async (notificationId, userId) => {
// Resend Chat by User
const resendChatByUser = async (notificationId, userPhone) => {
const response = await SendRequest({
method: 'put',
method: 'post',
prefix: `notification-user/resend/${notificationId}/${userPhone}`,
});
return response.data;

View File

@@ -287,7 +287,6 @@ const ListNotification = memo(function ListNotification(props) {
id: user.notification_error_user_id.toString(),
name: user.contact_name,
phone: user.contact_phone,
userId: user.notification_error_user_id,
status: user.is_send ? 'Delivered' : 'Pending',
timestamp: user.created_at
? new Date(user.created_at).toLocaleString('id-ID', {
@@ -610,10 +609,10 @@ const ListNotification = memo(function ListNotification(props) {
ghost
icon={<SendOutlined />}
onClick={async () => {
await resendChatByUser(user.userId, user.phone);
message.info(
'Resend feature is not available yet. This feature is still under development.'
);
await resendChatByUser(user.id, user.phone);
// message.info(
// 'Resend feature is not available yet. This feature is still under development.'
// );
}}
>
Resend