Skip to content

Commit

Permalink
fix broken token listing
Browse files Browse the repository at this point in the history
  • Loading branch information
codekeyz committed Oct 3, 2024
1 parent 1167660 commit 6c7ee3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/globe_cli/lib/src/utils/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@ class Token {
'organizationUuid': final String organizationUuid,
'expiresAt': final String expiresAt,
'projects': final List<dynamic> projects,
'value': final String? value,
} =>
Token._(
uuid: uuid,
Expand All @@ -705,7 +704,7 @@ class Token {
cliTokenClaimProject: projects
.map((e) => (e as Map)['projectUuid'].toString())
.toList(),
value: value,
value: json['value']?.toString(),
),
_ => throw const FormatException('Token'),
};
Expand Down

0 comments on commit 6c7ee3f

Please sign in to comment.