2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-17 04:35:26 +00:00

Code cleanup

This commit is contained in:
Oliver
2021-08-02 21:48:53 +10:00
parent 9b42c88b53
commit 68859b3d2e
3 changed files with 9 additions and 4 deletions

View File

@ -529,7 +529,7 @@ class InvenTreeStockItem extends InvenTreeModel {
expectedStatusCode: 200
);
return response != null;
return response.isValid() && response.statusCode == 200;
}
}