concurrency
This commit is contained in:
@@ -25,7 +25,7 @@ public class ChatController implements ChatsApi {
|
||||
|
||||
@Override
|
||||
public ResponseEntity<ChatDTO> getChat(UUID chatId , @AuthenticationPrincipal SessionPrincipal principal) {
|
||||
return ResponseEntity.ok(chatService.getChat(principal.userId(), chatId));
|
||||
return ResponseEntity.ok(chatService.getChatDTO(principal.userId(), chatId));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user