mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Fixes for stock adjustment
This commit is contained in:
parent
b8c535560d
commit
27a6025c32
3 changed files with 7 additions and 2 deletions
|
|
@ -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}'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue