mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-07 15:52:08 +00:00
API v34 required for plugin support
This commit is contained in:
1 parent
2834423684
commit
3bb370bee1
2 files changed
+7
-2
No files matched your search
@@ -256,6 +256,11 @@ class InvenTreeAPI {
|
||||
return apiVersion >= 14;
|
||||
}
|
||||
|
||||
// True plugin support requires API v34 or newer
|
||||
bool supportPlugins() {
|
||||
return apiVersion >= 34;
|
||||
}
|
||||
|
||||
/*
|
||||
* Connect to the remote InvenTree server:
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user