mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Cleanup
This commit is contained in:
@ -34,7 +34,7 @@ class APIResponse {
|
||||
dynamic data = {};
|
||||
|
||||
// Request is "valid" if a statusCode was returned
|
||||
bool isValid() => statusCode >= 0;
|
||||
bool isValid() => (statusCode >= 0) && (statusCode < 500);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user