n8n/packages/nodes-base
Nihaal Sangha ef3a57719e
fix(Discord Node): Remove unnecessary requirement on parameters (#8060)
## Summary
The PR removes the requirement on 2 fields: the `content` and the
`description` of embeds. Discord requires neither of these fields and as
they weren't required in the v1 node, it prevents migrating to the v2
node for users not providing one of them. Discord does require
*something* to be sent however, whether an attachment, an embed or
content, so this could be used instead if necessary.

## Review / Merge checklist
- [x] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [x] ~~[Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.~~ (v2 is not documented)
- [x] ~~Tests included.~~ (If more complex requirements are set then a
test should be added although I haven't worked with n8n's tests before)

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2024-01-03 11:21:22 +02:00
..
credentials refactor: Optimize SVG icons for nodes (#8195) 2024-01-02 17:40:08 +01:00
nodes fix(Discord Node): Remove unnecessary requirement on parameters (#8060) 2024-01-03 11:21:22 +02:00
scripts
test refactor(Peekalink Node): Stricter typing for Peekalink api call + Tests (no-changelog) (#8125) 2023-12-21 18:22:32 +01:00
utils refactor: Switch plain errors in nodes-base to ApplicationError (no-changelog) (#7914) 2023-12-05 11:17:08 +01:00
.eslintrc.js refactor(Peekalink Node): Stricter typing for Peekalink api call + Tests (no-changelog) (#8125) 2023-12-21 18:22:32 +01:00
gulpfile.js
index.js
jest.config.js
LICENSE.md
LICENSE_EE.md
package.json feat(Snowflake Node): Update snowflake-sdk (no-changelog) (#8087) 2023-12-21 14:52:54 +01:00
README.md docs: Replace http://faircode.io to https://faircode.io in .md files (#7908) 2023-12-12 15:23:22 +00:00
tsconfig.build.json
tsconfig.json

n8n.io - Workflow Automation

n8n-nodes-base

The nodes which are included by default in n8n

npm install n8n-nodes-base -g

License

n8n is fair-code distributed under the Sustainable Use License.

Proprietary licenses are available for enterprise customers. Get in touch

Additional information about the license can be found in the docs.