1
0
Fork 0
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:
Fedor Katurov 2020-04-09 14:18:52 +07:00
parent 319e66616c
commit 8faf22dbbf
9 changed files with 80 additions and 11 deletions

View file

@ -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)