1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

let users like comments

This commit is contained in:
Fedor Katurov 2023-11-01 20:56:47 +06:00
parent 822f51f5de
commit bd802ede10
22 changed files with 332 additions and 154 deletions

View file

@ -41,6 +41,8 @@ export const API = {
`/nodes/${id}/tags/${tagId}`,
COMMENT: (id: INode['id'] | string) => `/nodes/${id}/comments`,
COMMENT_LIKES: (id: INode['id'] | string, cid: number) =>
`/nodes/${id}/comments/${cid}/likes`,
LOCK_COMMENT: (id: INode['id'], comment_id: IComment['id']) =>
`/nodes/${id}/comments/${comment_id}`,
},