Fakultas Ilmu Komputer UI

Commit f50568c3 authored by jovi_013's avatar jovi_013
Browse files

[REFACTOR] Add handler if image is null

parent 2a48917a
Pipeline #72578 failed with stages
in 39 minutes and 12 seconds
......@@ -45,8 +45,8 @@ class LokasiRepository implements BaseLokasiRepository {
lokasi.name = 'INVALID';
lokasi.alamat = 'LOCATION INVALID';
lokasi.noTelp = '-';
lokasi.image = '';
}
lokasi.image ??= '';
freqPlaces.add(lokasi);
}
freqPlaces = freqPlaces.cast<Lokasi>();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment