mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Migrate packages from lodash to lodash-es (no-changelog) (#5538)
This commit is contained in:
@@ -4,7 +4,7 @@ import type { IDataObject, IOAuth2Options } from 'n8n-workflow';
|
||||
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import _ from 'lodash';
|
||||
import get from 'lodash.get';
|
||||
|
||||
export async function slackApiRequest(
|
||||
this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions,
|
||||
@@ -105,7 +105,7 @@ export async function slackApiRequestAllItems(
|
||||
}
|
||||
do {
|
||||
responseData = await slackApiRequest.call(this, method, endpoint, body, query);
|
||||
query.cursor = _.get(responseData, 'response_metadata.next_cursor');
|
||||
query.cursor = get(responseData, 'response_metadata.next_cursor');
|
||||
query.page++;
|
||||
returnData.push.apply(
|
||||
returnData,
|
||||
|
||||
Reference in New Issue
Block a user