From b06ce4eefd7e71e1b3f5714bcc3c6e90a4461e2a Mon Sep 17 00:00:00 2001 From: ewandor Date: Wed, 14 May 2025 18:26:52 +0200 Subject: [PATCH] Correcting typo in foreignkey --- api/rpk-api/firm/template/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/rpk-api/firm/template/models.py b/api/rpk-api/firm/template/models.py index dac7702..98a7f03 100644 --- a/api/rpk-api/firm/template/models.py +++ b/api/rpk-api/firm/template/models.py @@ -42,7 +42,7 @@ class ProvisionTemplateReference(BaseModel): provision_template_id: PydanticObjectId = ForeignKey( "templates/provisions", - "TemplateProvision", + "ProvisionTemplate", ['title', 'body'], props={"parametrized": True}, title="Template de clause"