2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-16 20:25:26 +00:00
- Updated translations
- Improved error catching
This commit is contained in:
Oliver
2021-11-29 21:02:29 +11:00
parent e343ae8aa0
commit 761aa0f861
4 changed files with 8 additions and 5 deletions

View File

@ -285,9 +285,6 @@ class InvenTreeModel {
// Return the detail view for the associated pk
Future<InvenTreeModel?> get(int pk, {Map<String, String> filters = const {}}) async {
// TODO - Add "timeout"
// TODO - Add error catching
var url = path.join(URL, pk.toString());
if (!url.endsWith("/")) {