diff --git a/credentials/RedditApplicationOnlyOAuth2Api.credentials.ts b/credentials/RedditApplicationOnlyOAuth2Api.credentials.ts index 670610b..43410f2 100644 --- a/credentials/RedditApplicationOnlyOAuth2Api.credentials.ts +++ b/credentials/RedditApplicationOnlyOAuth2Api.credentials.ts @@ -14,7 +14,7 @@ export class RedditApplicationOnlyOAuth2Api implements ICredentialType { name = 'redditOAuth2ApplicationOnlyApi'; displayName = 'Reddit Application Only OAuth2 API'; icon: Icon = 'file:../nodes/RedditPostReadTrigger/reddit.svg'; - // documentationUrl = 'userless-reddit'; + documentationUrl = 'https://github.com/haohanyang/n8n-nodes-userless-reddit/wiki/Credentials'; properties: INodeProperties[] = [ { displayName: 'Session Token', diff --git a/nodes/Reddit/RedditPostsReadTrigger.node.ts b/nodes/Reddit/RedditPostsTrigger.node.ts similarity index 92% rename from nodes/Reddit/RedditPostsReadTrigger.node.ts rename to nodes/Reddit/RedditPostsTrigger.node.ts index e6b6980..cdb12f6 100644 --- a/nodes/Reddit/RedditPostsReadTrigger.node.ts +++ b/nodes/Reddit/RedditPostsTrigger.node.ts @@ -19,18 +19,19 @@ interface RedditPost { url: string; } -export class RedditPostsReadTrigger implements INodeType { +export class RedditPostsTrigger implements INodeType { description: INodeTypeDescription = { displayName: 'Reddit Posts Trigger', - name: 'redditPostTrigger', + name: 'redditPostsTrigger', group: ['trigger'], icon: 'file:reddit.svg', polling: true, version: 1, - description: 'Starts a workflow when new reddit posts published', + description: 'Starts a workflow when new Reddit posts published', defaults: { name: 'Reddit Posts Trigger', }, + documentationUrl: 'https://github.com/haohanyang/n8n-nodes-userless-reddit/wiki/Triggers', inputs: [], outputs: ['main'], credentials: [ diff --git a/package.json b/package.json index 490b676..f9bd3c4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "n8n-nodes-userless-reddit", "version": "0.0.1", - "description": "", + "description": "Reddit integration on n8n with OAuth2 Client Credentials Grant Type", "keywords": [ "n8n-community-node-package" ],