2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

API v34 required for plugin support

This commit is contained in:
Oliver Walters
2022-03-25 20:41:32 +11:00
parent 2834423684
commit 3bb370bee1
2 changed files with 7 additions and 2 deletions

View File

@ -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:
*