fix(pipedrive): Guard new deals response in case there is none
This commit is contained in:
@@ -37,7 +37,7 @@ export default defineTrigger({
|
||||
{ params }
|
||||
);
|
||||
|
||||
if (!data.data.length) {
|
||||
if (!data?.data?.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user