Skip to content

Commit

Permalink
update getCommentsPaginated usecase
Browse files Browse the repository at this point in the history
  • Loading branch information
huytran17 committed Aug 29, 2024
1 parent ecb0314 commit 257835e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/server/src/use-cases/comment/get-comments-paginated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface IGetCommentsPaginated {
entries_per_page: number;
}

export type GetCommentsByParentId = ({
export type GetCommentsPaginated = ({
query,
page,
entries_per_page,
Expand All @@ -18,7 +18,7 @@ export default function makeGetCommentsPaginated({
commentDb,
}: {
commentDb: ICommentDb;
}): GetCommentsByParentId {
}): GetCommentsPaginated {
return async function getCommentsPaginated({
query,
page,
Expand Down

0 comments on commit 257835e

Please sign in to comment.