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:
parent
822f51f5de
commit
bd802ede10
22 changed files with 332 additions and 154 deletions
|
@ -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}`,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue