fix: [approval] 파일 업로드 시 display_name 누락 오류 수정
This commit is contained in:
@@ -494,6 +494,7 @@ public function uploadFile(Request $request, GoogleCloudStorageService $gcs): Js
|
|||||||
$fileRecord = File::create([
|
$fileRecord = File::create([
|
||||||
'tenant_id' => $tenantId,
|
'tenant_id' => $tenantId,
|
||||||
'document_type' => 'approval_attachment',
|
'document_type' => 'approval_attachment',
|
||||||
|
'display_name' => $file->getClientOriginalName(),
|
||||||
'original_name' => $file->getClientOriginalName(),
|
'original_name' => $file->getClientOriginalName(),
|
||||||
'stored_name' => $storedName,
|
'stored_name' => $storedName,
|
||||||
'file_path' => $storagePath,
|
'file_path' => $storagePath,
|
||||||
|
|||||||
Reference in New Issue
Block a user