From 87d29c03595c66d2c8be187ce01a5afb00b1e5f2 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Thu, 11 Jul 2024 18:29:50 +0100 Subject: [PATCH] fix(backend): add hashtag to #domain-project_id during proj create --- src/backend/app/projects/project_crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/app/projects/project_crud.py b/src/backend/app/projects/project_crud.py index de3192b815..942912eb2e 100644 --- a/src/backend/app/projects/project_crud.py +++ b/src/backend/app/projects/project_crud.py @@ -343,7 +343,7 @@ async def create_project_with_project_info( generated_project_id = db_project.id if db_project.hashtags: db_project.hashtags = db_project.hashtags + [ - f"{settings.FMTM_DOMAIN}-{generated_project_id}" + f"#{settings.FMTM_DOMAIN}-{generated_project_id}" ] db.commit()