Skip to content

Commit

Permalink
fix(version.dart): use correct field for deserializing model
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jun 4, 2024
1 parent 25c4cdc commit 45423a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/core/definitions/version_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class VersionInfo {
final Set<String> parsedFields = {};

final instance = json.parseRequiredField<String>("instance", parsedFields);
final model = json.parseField<String>("instance", parsedFields);
final model = json.parseField<String>("model", parsedFields);
final additionalFields =
json.parseAdditionalFields(prefixMapping, parsedFields);

Expand Down

0 comments on commit 45423a4

Please sign in to comment.