mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
soft delete
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ export class SocketMessageDeleteUseCaseService {
|
||||
|
||||
|
||||
async execute(input: MessageOutPutDataDTO) {
|
||||
const result = await this.messageLocalDataSourceService.deleteByMessageId(input.id)
|
||||
const result = await this.messageLocalDataSourceService.update(input.id, { isDeleted: true})
|
||||
|
||||
if(result.isOk()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user