Skip to content

Commit 66867a1

Browse files
committed
be: fix prod issue
1 parent 415272f commit 66867a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backend/src/models/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
from .form import Form
66
from .user import User
77

8+
# Resolve references for all models
9+
Form.model_rebuild()
10+
User.model_rebuild()
11+
812

913
class Config(BaseModel):
1014
"""Response model for config."""

0 commit comments

Comments
 (0)