mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-28 09:54:04 +00:00
Update supportsPricingRole to require apiVersion 562 (#896)
This commit is contained in:
1 parent
a76675dd4d
commit
3a228dfc1f
1 file changed
+1
-1
+1
-1
@@ -352,7 +352,7 @@ class InvenTreeAPI {
|
||||
// Does the server support the "pricing" user role?
|
||||
// (Pricing endpoints also moved to the /api/pricing/ namespace)
|
||||
// Ref: https://github.com/inventree/InvenTree/pull/13034
|
||||
bool get supportsPricingRole => apiVersion >= 561;
|
||||
bool get supportsPricingRole => apiVersion >= 562;
|
||||
|
||||
// Can the current user view part pricing information?
|
||||
// Older servers do not have a separate "pricing" role, so no check is performed
|
||||
|
||||
Reference in new issue
Block a user