mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fix change folder path
This commit is contained in:
@@ -23,8 +23,8 @@ export class MessageMapper {
|
||||
source: e.source,
|
||||
file: e.file,
|
||||
fileName: e.fileName,
|
||||
applicationId: e.applicationId,
|
||||
docId: Number(e.docId),
|
||||
applicationId: e.applicationId || 0,
|
||||
docId: Number(e.docId) || 0,
|
||||
mimeType: e.mimeType
|
||||
}))[0]
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { MessageEntity, MessageEntitySchema, } from '../entity/message';
|
||||
import { MessageRepositoryService } from "src/app/module/chat/data/repository/message-respository.service"
|
||||
import { AttachmentRepositoryService } from "src/app/module/chat/data/repository/attachment-repository.service"
|
||||
import { z, ZodError } from 'zod';
|
||||
import { v4 as uuidv4 } from 'uuid'
|
||||
import { MessageRepositoryService } from "src/app/module/chat/data/repository/message-respository.service";
|
||||
import { AttachmentRepositoryService } from "src/app/module/chat/data/repository/attachment-repository.service";
|
||||
import { z } from 'zod';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { InstanceId } from '../chat-service.service';
|
||||
import { createDataURL } from 'src/app/utils/ToBase64';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
import { zodSafeValidation } from 'src/app/utils/zodValidation';
|
||||
import { Logger } from 'src/app/services/logger/main/service';
|
||||
import { MessageAttachmentSource } from '../../data/dto/message/messageOutputDTO';
|
||||
@@ -46,7 +45,6 @@ export class MessageCreateUseCaseService {
|
||||
|
||||
for (const attachment of message.attachments) {
|
||||
|
||||
console.log(attachment)
|
||||
if(attachment.source != MessageAttachmentSource.Webtrix) {
|
||||
|
||||
this.AttachmentRepositoryService.create({
|
||||
|
||||
Reference in New Issue
Block a user