chore: update fetch tag data

This commit is contained in:
Sosokker 2024-11-28 05:46:34 +07:00
parent 77b75e1727
commit 51a86bc939
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export function editProjectById(
projectId: number,
projectData: Partial<ProjectEditSchema>
) {
return client.from("project").update(projectData).eq("id", projectId).select();
return client.from("project").update(projectData).eq("id", projectId);
}
export function editProjectInvestmentDetailById(

View File

@ -53,6 +53,7 @@ function getProjectDataQuery(client: SupabaseClient, projectId: number) {
),
tags:project_tag!inner (
...tag!inner (
tag_id:id,
tag_name:value
)
)