feat: sinkronisasi foto siswa dari kesiswaan (photo_url PAS FOTO) + API wali return URL absolut

This commit is contained in:
Novy San87
2026-08-07 08:27:44 +07:00
parent 2b354e9e46
commit 503e910e18
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ class StudentSyncService
'department_name' => $item['department_name'] ?? '',
'academic_year_name' => $item['academic_year_name'] ?? '',
'status' => 'active',
'photo_path' => $item['photo_path'],
'photo_path' => $item['photo_url'] ?? $item['photo_path'],
'class_id' => $class->id,
'is_active' => true,
'synced_at' => now(),