Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
haohanyang committed Dec 7, 2024
1 parent 183172b commit 29740d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion credentials/RedditApplicationOnlyOAuth2Api.credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down

0 comments on commit 29740d9

Please sign in to comment.