MCPcopy
hub / github.com/nestjs/nest / findOne

Method findOne

integration/inspector/src/chat/chat.gateway.ts:25–27  ·  view source on GitHub ↗
(@MessageBody() id: number)

Source from the content-addressed store, hash-verified

23
24 @SubscribeMessage('findOneChat')
25 findOne(@MessageBody() id: number) {
26 return this.chatService.findOne(id);
27 }
28
29 @SubscribeMessage('updateChat')
30 update(@MessageBody() updateChatDto: UpdateChatDto) {

Callers

nothing calls this directly

Calls 2

MessageBodyFunction · 0.90
findOneMethod · 0.65

Tested by

no test coverage detected