This commit is contained in:
2024-05-30 13:19:26 +08:00
parent b7dbca4311
commit c86011346b
4 changed files with 65 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ class ApiResult<T> {
if (ok) {
return data!;
} else {
return throw (status, error!);
return throw (status, error);
}
}