Fix minor details

This commit is contained in:
Iván Ovejero 2021-01-19 12:48:15 -03:00
parent 487bf4c7eb
commit dd81a3c04f
3 changed files with 6 additions and 8 deletions

View file

@ -56,7 +56,7 @@ export const myAccountFields = [
description: 'Return the subreddit karma for the logged-in user', description: 'Return the subreddit karma for the logged-in user',
}, },
{ {
name: 'preferences', name: 'Preferences',
value: 'prefs', value: 'prefs',
description: 'Return the settings preferences of the logged-in user', description: 'Return the settings preferences of the logged-in user',
}, },

View file

@ -65,6 +65,11 @@ export class Reddit implements INodeType {
'submission', 'submission',
], ],
}, },
hide: {
operation: [
'search',
],
},
}, },
}, },
], ],

View file

@ -3,9 +3,6 @@ import {
} from 'n8n-workflow'; } from 'n8n-workflow';
export const userOperations = [ export const userOperations = [
// ----------------------------------
// get: user
// ----------------------------------
{ {
displayName: 'Operation', displayName: 'Operation',
name: 'operation', name: 'operation',
@ -22,10 +19,6 @@ export const userOperations = [
name: 'Get', name: 'Get',
value: 'get', value: 'get',
}, },
{
name: 'Search',
value: 'search',
},
], ],
default: 'get', default: 'get',
description: 'Operation to perform', description: 'Operation to perform',