mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-19 14:04:06 +01:00
chore: update fetch tag data
This commit is contained in:
parent
77b75e1727
commit
51a86bc939
@ -17,7 +17,7 @@ export function editProjectById(
|
|||||||
projectId: number,
|
projectId: number,
|
||||||
projectData: Partial<ProjectEditSchema>
|
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(
|
export function editProjectInvestmentDetailById(
|
||||||
|
|||||||
@ -53,6 +53,7 @@ function getProjectDataQuery(client: SupabaseClient, projectId: number) {
|
|||||||
),
|
),
|
||||||
tags:project_tag!inner (
|
tags:project_tag!inner (
|
||||||
...tag!inner (
|
...tag!inner (
|
||||||
|
tag_id:id,
|
||||||
tag_name:value
|
tag_name:value
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user