This commit is contained in:
2024-06-21 09:02:07 +07:00
parent fd7b31dfac
commit 150216fb87

View File

@@ -696,8 +696,8 @@ class RequestLogController extends Controller
]);
if ($affectedRows === 0) {
$row['code_error'] = '500';
$row['error'] = 'Gagal update karena data sudah ada ';
$row['code_error'] = '200';
$row['error'] = 'Tidak ada data yang diedit';
$result_rows[] = $row;
$failedRows[] = $row;
} else {