mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Ghost Node): Fix post tags and add credential tests (#3278)
* Renamed Tag IDs to Tags and changed the value to tag.name * Updated credentials to use new system * Nodelinter changes
This commit is contained in:
committed by
GitHub
parent
7090a79b5d
commit
a14d85ea48
@@ -29,7 +29,7 @@ export class Ghost implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Ghost',
|
||||
name: 'ghost',
|
||||
icon: 'file:ghost.png',
|
||||
icon: 'file:ghost.svg',
|
||||
group: ['input'],
|
||||
version: 1,
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
@@ -91,8 +91,9 @@ export class Ghost implements INodeType {
|
||||
value: 'post',
|
||||
},
|
||||
],
|
||||
noDataExpression: true,
|
||||
default: 'post',
|
||||
description: 'The resource to operate on.',
|
||||
description: 'The resource to operate on',
|
||||
},
|
||||
...postOperations,
|
||||
...postFields,
|
||||
@@ -137,7 +138,7 @@ export class Ghost implements INodeType {
|
||||
for (const tag of tags) {
|
||||
returnData.push({
|
||||
name: tag.name,
|
||||
value: tag.id,
|
||||
value: tag.name,
|
||||
});
|
||||
}
|
||||
return returnData;
|
||||
|
||||
Reference in New Issue
Block a user