n8n/packages
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
..
@n8n refactor: Optimize SVG icons for nodes (#8195) 2024-01-02 17:40:08 +01:00
@n8n_io/eslint-config ci: Disable import/no-extraneous-dependencies in frontend tests (no-changelog) (#8182) 2023-12-29 10:45:55 +01:00
cli fix(core): Better input validation for the changeRole endpoint (#8189) 2024-01-03 09:33:35 +01:00
core feat(editor): Create separate components for JS and JSON editors (no-changelog) (#8156) 2023-12-29 10:49:27 +01:00
design-system refactor(editor): Improve linting for component and prop names (no-changelog) (#8169) 2023-12-28 09:49:58 +01:00
editor-ui fix(core): Better input validation for the changeRole endpoint (#8189) 2024-01-03 09:33:35 +01:00
node-dev 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
nodes-base fix(Discord Node): Remove unnecessary requirement on parameters (#8060) 2024-01-03 11:21:22 +02:00
workflow feat(editor): Create separate components for JS and JSON editors (no-changelog) (#8156) 2023-12-29 10:49:27 +01:00