mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
More test errors
This commit is contained in:
@@ -200,8 +200,8 @@ class SonosSoap {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
reportAccountAction = (args: any, headers: any) => {
|
reportAccountAction = (args: any, _headers: any) => {
|
||||||
logger.info('Sonos reportAccountAction: ' + JSON.stringify(args) + ' Headers: ' + JSON.stringify(headers));
|
logger.info('Sonos reportAccountAction: ' + JSON.stringify(args));
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -470,8 +470,6 @@ function bindSmapiSoapServiceToExpress(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const useHeaderIfPresent = (credentials?: Credentials, headers?: IncomingHttpHeaders) => {
|
const useHeaderIfPresent = (credentials?: Credentials, headers?: IncomingHttpHeaders) => {
|
||||||
logger.debug("useHeaderIfPresent header", headers);
|
|
||||||
|
|
||||||
const headersProvidedWithToken = headers!==null && headers!== undefined && headers["authorization"];
|
const headersProvidedWithToken = headers!==null && headers!== undefined && headers["authorization"];
|
||||||
if(headersProvidedWithToken) {
|
if(headersProvidedWithToken) {
|
||||||
logger.debug("Will use authorization header");
|
logger.debug("Will use authorization header");
|
||||||
|
|||||||
Reference in New Issue
Block a user