mirror of
https://git.victorphan.net/basketballcantho/ten-project.git
synced 2026-08-05 20:33:11 +07:00
colaborative tích hợp redis để đồng bộ toàn bộ annotation
This commit is contained in:
@@ -47,4 +47,9 @@ export const api = {
|
||||
method: "PUT",
|
||||
body: JSON.stringify(body),
|
||||
}),
|
||||
upsertTempAnnotation: (pdfId: number, page: number, body: { canvas_data: object }) =>
|
||||
request<void>(`/api/annotations/${pdfId}/${page}/temp`, {
|
||||
method: "PUT",
|
||||
body: JSON.stringify(body),
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user