From a4ddab10528e805da9c68d8aba48a51e439614af Mon Sep 17 00:00:00 2001 From: Abram Date: Thu, 19 Dec 2024 16:38:55 +0100 Subject: [PATCH] chore (backend): add variant_revision id in `app_variant_db_revisions_to_output` api converter --- agenta-backend/agenta_backend/models/converters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/agenta-backend/agenta_backend/models/converters.py b/agenta-backend/agenta_backend/models/converters.py index 8f7a329fa..cb9c22639 100644 --- a/agenta-backend/agenta_backend/models/converters.py +++ b/agenta-backend/agenta_backend/models/converters.py @@ -318,6 +318,7 @@ async def app_variant_db_revisions_to_output( for app_variant_revision_db in app_variant_revisions_db: app_variant_revisions.append( AppVariantRevision( + id=str(app_variant_revision_db.id) or None, revision=app_variant_revision_db.revision, modified_by=app_variant_revision_db.modified_by.username, config={