mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: fix typo in error messages when a property does not exist (#4310)
This commit is contained in:
committed by
GitHub
parent
4a209e1dd9
commit
3af3db160b
@@ -442,7 +442,7 @@ export class TheHive implements INodeType {
|
||||
if (item.binary[binaryPropertyName] === undefined) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
||||
`Item has no binary property called "${binaryPropertyName}"`,
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
@@ -719,7 +719,7 @@ export class TheHive implements INodeType {
|
||||
if (item.binary[binaryPropertyName] === undefined) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
||||
`Item has no binary property called "${binaryPropertyName}"`,
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
@@ -914,7 +914,7 @@ export class TheHive implements INodeType {
|
||||
if (item.binary[binaryPropertyName] === undefined) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
||||
`Item has no binary property called "${binaryPropertyName}"`,
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
@@ -1770,7 +1770,7 @@ export class TheHive implements INodeType {
|
||||
if (item.binary[binaryPropertyName] === undefined) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
||||
`Item has no binary property called "${binaryPropertyName}"`,
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user