mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
boris comment more properly showing
This commit is contained in:
parent
319e66616c
commit
8faf22dbbf
9 changed files with 80 additions and 11 deletions
|
@ -103,7 +103,7 @@ export const getNodeComments = ({
|
|||
access: string;
|
||||
take?: number;
|
||||
skip?: number;
|
||||
}): Promise<IResultWithStatus<{ comments: Comment[] }>> =>
|
||||
}): Promise<IResultWithStatus<{ comments: IComment[]; comment_count: number }>> =>
|
||||
api
|
||||
.get(API.NODE.COMMENT(id), configWithToken(access, { params: { take, skip } }))
|
||||
.then(resultMiddleware)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue