fix bug sync google sheet and handle to long data address on pbg task
This commit is contained in:
@@ -79,7 +79,7 @@ class ScrapingDataJob implements ShouldQueue
|
||||
if (isset($import_datasource)) {
|
||||
$import_datasource->update([
|
||||
'status' => 'failed',
|
||||
'response_body' => 'Error: ' . $e->getMessage(),
|
||||
'response_body' => 'Terjadi kesalahan, Syncronize tidak selesai',
|
||||
'finish_time' => now(),
|
||||
'failed_uuid' => $failed_uuid,
|
||||
]);
|
||||
|
||||
@@ -107,7 +107,7 @@ class ServiceGoogleSheet
|
||||
'tanggal_skrd' => $this->convertToDate($cleanValue($row[33] ?? null)),
|
||||
'ptsp' => $cleanValue($row[34] ?? null),
|
||||
'selesai_terbit' => $cleanValue($row[35] ?? null),
|
||||
'tanggal_pembayaran' => $cleanValue($row[36] ?? null),
|
||||
'tanggal_pembayaran' => $this->convertToDate($cleanValue($row[36] ?? null)),
|
||||
'format_sts' => $cleanValue($row[37] ?? null),
|
||||
'tahun_terbit' => (int) $cleanValue($row[38] ?? null),
|
||||
'tahun_berjalan' => (int) $cleanValue($row[39] ?? null),
|
||||
|
||||
Reference in New Issue
Block a user