mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Fixes for stock adjustment
This commit is contained in:
@ -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