mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-08 16:17:04 +00:00
Fixes for stock adjustment
This commit is contained in:
1 parent
b8c535560d
commit
27a6025c32
3 files changed
+7
-2
No files matched your search
@@ -619,7 +619,6 @@ class InvenTreeAPI {
|
||||
|
||||
String _authorizationHeader(String username, String password) {
|
||||
if (_token.isNotEmpty) {
|
||||
print("Using TOKEN: ${_token}");
|
||||
return "Token $_token";
|
||||
} else {
|
||||
return "Basic " + base64Encode(utf8.encode('${username}:${password}'));
|
||||
|
||||
Reference in new issue
Block a user