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',
},
{
name: 'preferences',
name: 'Preferences',
value: 'prefs',
description: 'Return the settings preferences of the logged-in user',
},

View file

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

View file

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