Skip to content

Commit

Permalink
Merge pull request #20 from bhaan/fix-peers-relevance-type
Browse files Browse the repository at this point in the history
Fix: Change relevance to double on peers info dto
  • Loading branch information
yosemiteyss authored May 21, 2024
2 parents 17f0c88 + 3d47bb9 commit 1f15314
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/v2/sync/dto/peers_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class PeersInfo {
final double? progress;

@JsonKey(name: 'relevance')
final int? relevance;
final double? relevance;

@JsonKey(name: 'up_speed')
final int? upSpeed;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/v2/sync/dto/peers_info.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f15314

Please sign in to comment.