Revert change

This commit is contained in:
2024-05-30 13:34:52 +08:00
parent c86011346b
commit 490052a1f8

View File

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