This commit is contained in:
おさむのひと 2025-04-28 22:15:14 +09:00
parent c5a73d57da
commit a8fdfdccd1
1 changed files with 6 additions and 7 deletions

View File

@ -493,17 +493,16 @@ export class ApiCallService implements OnApplicationShutdown {
if (multipartFile.file.truncated) {
throw createTooLongError();
}
} finally {
} catch (err) {
cleanup();
throw err;
}
const attachmentFile = {
return {
attachmentFile: {
name: multipartFile.filename,
path,
};
return {
attachmentFile,
},
cleanup,
};
}