mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Minor improvements on Rocketchat Node
This commit is contained in:
parent
4ec458d56b
commit
70d2a988cc
|
@ -16,7 +16,11 @@ export async function rocketchatApiRequest(this: IExecuteFunctions | ILoadOption
|
|||
}
|
||||
|
||||
const headerWithAuthentication = Object.assign({}, headers,
|
||||
{ 'X-Auth-Token': credentials.authKey, 'X-User-Id': credentials.userId });
|
||||
{
|
||||
'X-Auth-Token': credentials.authKey,
|
||||
'X-User-Id': credentials.userId,
|
||||
}
|
||||
);
|
||||
|
||||
const options: OptionsWithUri = {
|
||||
headers: headerWithAuthentication,
|
||||
|
|
Loading…
Reference in a new issue