mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Introduce overload for string-type node parameter (no-changelog) (#4797)
* 📘 Set up overload * 🔥 Remove inferrable assertions
This commit is contained in:
@@ -235,8 +235,8 @@ export class Mocean implements INodeType {
|
||||
body = {};
|
||||
qs = {};
|
||||
try {
|
||||
resource = this.getNodeParameter('resource', itemIndex, '') as string;
|
||||
operation = this.getNodeParameter('operation', itemIndex, '') as string;
|
||||
resource = this.getNodeParameter('resource', itemIndex, '');
|
||||
operation = this.getNodeParameter('operation', itemIndex, '');
|
||||
text = this.getNodeParameter('message', itemIndex, '') as string;
|
||||
requestMethod = 'POST';
|
||||
body['mocean-from'] = this.getNodeParameter('from', itemIndex, '') as string;
|
||||
|
||||
Reference in New Issue
Block a user