mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
Add resource dividers
This commit is contained in:
parent
fb72f02675
commit
c39891c28f
|
@ -123,6 +123,10 @@ export class Reddit implements INodeType {
|
|||
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
|
||||
// *********************************************************************
|
||||
// comment
|
||||
// *********************************************************************
|
||||
|
||||
if (resource === 'comment') {
|
||||
|
||||
// ----------------------------------
|
||||
|
@ -136,6 +140,10 @@ export class Reddit implements INodeType {
|
|||
|
||||
responseData = await redditApiRequest.call(this, 'POST', 'api/comment', qs);
|
||||
|
||||
// *********************************************************************
|
||||
// profile
|
||||
// *********************************************************************
|
||||
|
||||
} else if (resource === 'profile') {
|
||||
|
||||
// ----------------------------------
|
||||
|
@ -163,6 +171,10 @@ export class Reddit implements INodeType {
|
|||
|
||||
}
|
||||
|
||||
// *********************************************************************
|
||||
// subreddit
|
||||
// *********************************************************************
|
||||
|
||||
} else if (resource === 'subreddit') {
|
||||
|
||||
// ----------------------------------
|
||||
|
@ -200,6 +212,10 @@ export class Reddit implements INodeType {
|
|||
}
|
||||
}
|
||||
|
||||
// *********************************************************************
|
||||
// post
|
||||
// *********************************************************************
|
||||
|
||||
} else if (resource === 'post') {
|
||||
|
||||
// ----------------------------------
|
||||
|
@ -240,11 +256,15 @@ export class Reddit implements INodeType {
|
|||
|
||||
}
|
||||
|
||||
// *********************************************************************
|
||||
// user
|
||||
// *********************************************************************
|
||||
|
||||
} else if (resource === 'user') {
|
||||
|
||||
// ----------------------------------
|
||||
// user: get
|
||||
// ----------------------------------
|
||||
// ----------------------------------
|
||||
// user: get
|
||||
// ----------------------------------
|
||||
|
||||
if (operation === 'get') {
|
||||
|
||||
|
|
Loading…
Reference in a new issue