feat: add request headers to trigger functions (#4012)
* add request headers to trigger functions * reverse changes * add headers in request config and trigger request
This commit is contained in:
committed by
Florent Vilmart
parent
e6cc8204b3
commit
3c79cae1b2
@@ -133,7 +133,8 @@ export function getRequestObject(triggerType, auth, parseObject, originalParseOb
|
||||
triggerName: triggerType,
|
||||
object: parseObject,
|
||||
master: false,
|
||||
log: config.loggerController
|
||||
log: config.loggerController,
|
||||
headers: config.headers,
|
||||
};
|
||||
|
||||
if (originalParseObject) {
|
||||
@@ -164,7 +165,8 @@ export function getRequestQueryObject(triggerType, auth, query, count, config, i
|
||||
master: false,
|
||||
count,
|
||||
log: config.loggerController,
|
||||
isGet
|
||||
isGet,
|
||||
headers: config.headers,
|
||||
};
|
||||
|
||||
if (!auth) {
|
||||
|
||||
Reference in New Issue
Block a user