Update
This commit is contained in:
1 parent
39690b1d2b
commit
35cb578a96
8 files changed
+1091
-46
No files matched your search
@@ -672,6 +672,13 @@ export function updateProjectStatus(projectId: string, closed: boolean) {
|
||||
});
|
||||
}
|
||||
|
||||
export function acknowledgeProjectReview(projectId: string) {
|
||||
return request<{ project: { id: string; ticket_id: string; close_review_required: boolean } }>(`/api/projects/${projectId}/review`, {
|
||||
method: "PATCH",
|
||||
body: JSON.stringify({ acknowledged: true })
|
||||
});
|
||||
}
|
||||
|
||||
export function deleteProject(projectId: string) {
|
||||
return request<{ deleted: { id: string; ticket_id: string } }>(`/api/projects/${projectId}`, {
|
||||
method: "DELETE"
|
||||
|
||||
Reference in new issue
Block a user