Skip to content

Commit

Permalink
Revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed May 30, 2024
1 parent c860113 commit 490052a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/api_result.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ApiResult<T> {
if (ok) {
return data!;
} else {
return throw (status, error);
return throw (status, error!);
}
}

Expand Down

0 comments on commit 490052a

Please sign in to comment.