Remove returnAll and limit from subreddit:get

This commit is contained in:
Iván Ovejero 2021-01-29 12:22:30 -03:00
parent 92deb81286
commit ce7fb5f78f

View file

@ -83,47 +83,6 @@ export const subredditFields = [
},
},
},
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
default: false,
description: 'Return all results.',
displayOptions: {
show: {
resource: [
'subreddit',
],
operation: [
'get',
],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 5,
description: 'The number of results to return.',
typeOptions: {
minValue: 1,
maxValue: 100,
},
displayOptions: {
show: {
resource: [
'subreddit',
],
operation: [
'get',
],
returnAll: [
false,
],
},
},
},
// ----------------------------------
// subreddit: getAll
// ----------------------------------