mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
API v34 required for plugin support
This commit is contained in:
parent
2834423684
commit
3bb370bee1
2 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue