diff options
author | 2021-03-16 09:26:27 +0200 | |
---|---|---|
committer | 2021-03-16 09:26:27 +0200 | |
commit | a8bba220c26462dbc5c32171e769a267e7240583 (patch) | |
tree | 124ec896f5741f1fac0c44a898a359d211f949bf | |
parent | Simplify role assigning rate limit handling (diff) |
Add discord_role to public fields
-rw-r--r-- | backend/models/form.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/models/form.py b/backend/models/form.py index 7e1a673..accd9b1 100644 --- a/backend/models/form.py +++ b/backend/models/form.py @@ -7,7 +7,7 @@ from pydantic.error_wrappers import ErrorWrapper, ValidationError from backend.constants import FormFeatures, WebHook from .question import Question -PUBLIC_FIELDS = ["id", "features", "questions", "name", "description", "submitted_text"] +PUBLIC_FIELDS = ["id", "features", "questions", "name", "description", "submitted_text", "discord_role"] class _WebHook(BaseModel): |