mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
v0.2.7 - Update release notes
This commit is contained in:
parent
b50d83f5f3
commit
fad7840c5c
4 changed files with 8 additions and 8 deletions
|
|
@ -765,10 +765,6 @@ class InvenTreeAPI {
|
|||
return null;
|
||||
}
|
||||
|
||||
if (request == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Set connection headers
|
||||
request.headers.set(HttpHeaders.contentTypeHeader, 'application/json');
|
||||
request.headers.set(HttpHeaders.authorizationHeader, _authorizationHeader());
|
||||
|
|
@ -776,7 +772,6 @@ class InvenTreeAPI {
|
|||
|
||||
try {
|
||||
HttpClientResponse response = await request.close().timeout(Duration(seconds: 10));
|
||||
|
||||
return response;
|
||||
|
||||
} on TimeoutException catch (error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue