mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Add Deal Product resource to Pipedrive node (#2022)
* Feature to add/remove/update/get Product in a Deal * ⚡ Refactor Pipedrive deal product expansion * 🔥 Remove leftover operation reference * ⚡ Fix indentation * ⚡ Separate dealProduct:create and update fields * ⚡ Improvements Co-authored-by: Rodrigo Correia <rodrigoscdc@gmail.com> Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
@@ -96,7 +96,7 @@ export async function pipedriveApiRequest(this: IHookFunctions | IExecuteFunctio
|
||||
|
||||
return {
|
||||
additionalData: responseData.additional_data,
|
||||
data: responseData.data,
|
||||
data: (responseData.data === null) ? [] : responseData.data,
|
||||
};
|
||||
} catch (error) {
|
||||
throw new NodeApiError(this.getNode(), error);
|
||||
|
||||
Reference in New Issue
Block a user