API v34 required for plugin support

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

No files matched your search

+5
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:
*