fix: align backend APIs and upload flow
This commit is contained in:
@@ -8,7 +8,7 @@ namespace FileService.Application.UploadFileTask
|
||||
{
|
||||
public record UploadTaskInitCommand(
|
||||
Guid UploaderId,
|
||||
Guid ConversationId, string FileName,
|
||||
Guid ConversationId, string? ChatType, Guid? TargetId, string FileName,
|
||||
long FileSize,string contentType,
|
||||
string checkSum
|
||||
)
|
||||
@@ -17,7 +17,7 @@ namespace FileService.Application.UploadFileTask
|
||||
{
|
||||
return new Domain.Entities.UploadTask(
|
||||
UploaderId,
|
||||
ConversationId, FileName, FileSize, contentType,
|
||||
ConversationId, ChatType, TargetId, FileName, FileSize, contentType,
|
||||
null,new Domain.ValueObjects.CheckSum("md5", checkSum)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user