mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Cleanup
This commit is contained in:
parent
31ed4c6a7b
commit
bf7a0e72bf
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue