From 7052668924f38f9681e18b4fb5e723e1569b75af Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 17 Nov 2022 13:39:18 +0100 Subject: [PATCH] feat(chalice): fixed typo --- ee/api/chalicelib/core/assist_records.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/assist_records.py b/ee/api/chalicelib/core/assist_records.py index a858b7996..c7311eb07 100644 --- a/ee/api/chalicelib/core/assist_records.py +++ b/ee/api/chalicelib/core/assist_records.py @@ -77,7 +77,7 @@ def get_record(project_id, record_id, context: schemas_ee.CurrentContext): return result -def update_record(project_id, record_id, data: schema_ee.AssistRecordUpdatePayloadSchema, +def update_record(project_id, record_id, data: schemas_ee.AssistRecordUpdatePayloadSchema, context: schemas_ee.CurrentContext): conditions = ["assist_records.record_id=%(record_id)s", "assist_records.deleted_at ISNULL"] params = {"tenant_id": context.tenant_id, "project_id": project_id, "record_id": record_id, "name": data.name}