Don't extract location if there is none

This commit is contained in:
Eli Ribble 2026-02-17 20:16:58 +00:00
parent 34c2475515
commit 50f0327f59
No known key found for this signature in database

View file

@ -61,6 +61,9 @@ func matchDistrict(ctx context.Context, longitude, latitude *float64, images []I
var err error
var org *models.Organization
for _, image := range images {
if image.Exif == nil {
continue
}
if image.Exif.GPS == nil {
continue
}