Skip to content

Commit

Permalink
Add env to request body
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Oct 28, 2024
1 parent b2842c7 commit 9700905
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/core/network/send_feedback_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ extension AllMetaDataRequestJson on AllMetaData {
values.addAll({'deviceModel': _deviceModel});
}

final _environment = environment;
if (_environment != null) {
values.addAll({'environment': _environment});
}

assert(installId.length >= 16);
// for backwards compatability we convert the old uuid to a nanoId
final _installNanoId = uuidToNanoId(installId, maxLength: 32);
Expand Down

0 comments on commit 9700905

Please sign in to comment.