Skip to content

Commit

Permalink
feat: searchChat에 page, size 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
juyeong-s committed Sep 7, 2024
1 parent 63a7395 commit cfff428
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/room/room.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ export class RoomService {
return createdChat;
}

public async searchChat(roomId: string) {
return await this.chatService.searchChat(roomId);
public async searchChat(
roomId: string,
{ page, size }: { page: number; size: number },
) {
return await this.chatService.searchChat(roomId, { page, size });
}
}

0 comments on commit cfff428

Please sign in to comment.