aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-29 15:45:32 +0200
committerGravatar ks129 <[email protected]>2020-12-29 15:45:32 +0200
commitd18b21a242f1154f900ac827a01300b99fc77717 (patch)
treebaa2bb9567e96fb7966fcec40e41f97b0802ac60 /backend
parentAdd ASSIGN_ROLE flag to schema and to enum (diff)
Add discord_role field to form and it's schema
Diffstat (limited to 'backend')
-rw-r--r--backend/models/form.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/models/form.py b/backend/models/form.py
index 57372ea..64b198b 100644
--- a/backend/models/form.py
+++ b/backend/models/form.py
@@ -33,6 +33,7 @@ class Form(BaseModel):
name: str
description: str
webhook: _WebHook = None
+ discord_role: t.Optional[str]
class Config:
allow_population_by_field_name = True