blob: 5c6be15c65f2215e38883bb7db211290ab6bbfed [file] [log] [blame]
function handleAuth(triggerData, options) {
var auth = triggerData.apikey.split(':');
options.auth = {
user: auth[0],
pass: auth[1]
};
return Promise.resolve(options);
}
module.exports = {
'handleAuth': handleAuth
};