⚡ Minor improvements on Rocketchat Node
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user