Team Notes longer than 1024 characters don't get added to Discord #112
Labels
Complexity: LOW
This issue is trivial and is expected to take less than an hour to complete.
Module: API
This issue pertains to the apps/api module
Module: Discord
This issue pertains to the apps/discord module
Module: Prisma
This issue pertains to the packages/prisma module
Priority: HIGH
This issue is halting multiple issues, significantly hindering users, or is a minor security issue.
Type: Bug
Something isn't working
Describe the bug
Discord Embed fields have a max text limit of 1024 characters, but our database schema allows Production team notes to be of any length. If you create notes longer than 1024 characters for a Production that is displayed in Discord, it causes an error on the Discord bot, e.g.:
To Reproduce
Alternatively:
Expected behavior
Messages and channels should be created regardless of the length of the team notes
Possible solutions:
The text was updated successfully, but these errors were encountered: