Adding auth manually - sdk unreliable

This commit is contained in:
abhijitkane
2019-05-29 11:05:25 +05:30
parent 010886ca0c
commit ff3058737a

View File

@@ -1324,7 +1324,7 @@ module.exports = {
};
thisAuthObject[authMap[authMeta.currentHelper]] = authMeta.helperAttributes;
item.authorizeRequestUsing(new sdk.RequestAuth(thisAuthObject));
item.request.auth = new sdk.RequestAuth(thisAuthObject);
}
// TODO: Figure out what happens if type!=api-key
else if (authHelper && authHelper.type === 'api-key') {