mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-08-23 11:22:33 +02:00
all profiles as lists, better handling, stop using a fallback profile for broken submissions without one
This commit is contained in:
@@ -91,7 +91,7 @@ class PendingUpload {
|
||||
direction: j['dir'],
|
||||
profile: j['profile'] is Map<String, dynamic>
|
||||
? NodeProfile.fromJson(j['profile'])
|
||||
: NodeProfile.genericAlpr(),
|
||||
: throw Exception('PendingUpload missing required profile data - this should never happen'),
|
||||
operatorProfile: j['operatorProfile'] != null
|
||||
? OperatorProfile.fromJson(j['operatorProfile'])
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user