2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-01 23:16:49 +00:00

Require API version 46

This commit is contained in:
Oliver Walters 2022-05-09 21:46:29 +10:00
parent 65570eec33
commit 97ee077419

View File

@ -1150,7 +1150,7 @@ class InvenTreeAPI {
); );
} }
bool get supportsSettings => isConnected() && apiVersion >= 45; bool get supportsSettings => isConnected() && apiVersion >= 46;
// Keep a record of which settings we have received from the server // Keep a record of which settings we have received from the server
Map<String, InvenTreeGlobalSetting> _globalSettings = {}; Map<String, InvenTreeGlobalSetting> _globalSettings = {};