mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 18:49:44 +09:00
chore(server): patch dart openapi assertion (#2914)
* chore(server): patch dart openapi assertion * remove unused file
This commit is contained in:
2
mobile/openapi/lib/model/api_key_create_dto.dart
generated
2
mobile/openapi/lib/model/api_key_create_dto.dart
generated
@@ -59,7 +59,7 @@ class APIKeyCreateDto {
|
||||
assert(() {
|
||||
requiredKeys.forEach((key) {
|
||||
assert(json.containsKey(key), 'Required key "APIKeyCreateDto[$key]" is missing from JSON.');
|
||||
assert(json[key] != null, 'Required key "APIKeyCreateDto[$key]" has a null value in JSON.');
|
||||
// assert(json[key] != null, 'Required key "APIKeyCreateDto[$key]" has a null value in JSON.');
|
||||
});
|
||||
return true;
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user