Changed fallback value for name field

pull/1178/head
Luca Di Leo 2022-04-30 12:07:46 +02:00
rodzic 27c2976847
commit c862cc8ff0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -142,7 +142,7 @@ class DroneDB:
return [
{'slug': o['slug'],
'name': o['properties'].get('meta', {}).get('name', {}).get('data', o['name']),
'name': o['properties'].get('meta', {}).get('name', {}).get('data', o['slug']),
'public': o['properties'].get('public'),
'size': o['size'],
'entries': o['properties'].get('entries')