mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
set member to admin
This commit is contained in:
+2
-4
@@ -12,16 +12,14 @@ export class SocketMessageCreateUseCaseService {
|
||||
|
||||
async execute(input: any) {
|
||||
|
||||
const id = input.id + ''
|
||||
delete input.id;
|
||||
|
||||
const incomingMessage = {
|
||||
...input,
|
||||
messageId: id,
|
||||
sending: false,
|
||||
roomId:input.chatRoomId
|
||||
}
|
||||
|
||||
delete input.chatRoomId
|
||||
|
||||
const result = await this.messageLocalDataSourceService.sendMessage(incomingMessage)
|
||||
|
||||
if(result.isOk()) {
|
||||
|
||||
Reference in New Issue
Block a user