|
@@ -9,6 +9,7 @@ router
|
|
.get('/:companionId', guard, controllers.getChatById)
|
|
.get('/:companionId', guard, controllers.getChatById)
|
|
.post('/', guard, validation.startChat, controllers.startChat)
|
|
.post('/', guard, validation.startChat, controllers.startChat)
|
|
.patch('/mute/', guard, controllers.muteChat)
|
|
.patch('/mute/', guard, controllers.muteChat)
|
|
|
|
+ .patch('/controllers/', guard, controllers.mediaControllersChat)
|
|
.patch('/socketId/', guard, controllers.socketIdChat)
|
|
.patch('/socketId/', guard, controllers.socketIdChat)
|
|
.patch('/sort/', guard, controllers.sortChat)
|
|
.patch('/sort/', guard, controllers.sortChat)
|
|
.patch('/seen/', guard, controllers.seenChat)
|
|
.patch('/seen/', guard, controllers.seenChat)
|