fix(api): even in ee, get_boy_project_key must return the project

This commit is contained in:
Amirouche 2024-01-26 18:10:43 +01:00
parent fd2f2b1677
commit 90059f59ca

View file

@ -251,7 +251,7 @@ def get_by_project_key(project_key):
{"project_key": project_key})
cur.execute(query=query)
row = cur.fetchone()
return row["project_id"] if row else None
return helper.dict_to_camel_case(row)
def get_project_key(project_id):