match saveToTempFile return type with other create-temp function
This commit is contained in:
parent
17a9b08f54
commit
e75e4f11a2
2 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ export class ServerUtilityService {
|
|||
}
|
||||
} else { // Otherwise it's a file
|
||||
try {
|
||||
const filepath = await saveToTempFile(part.file);
|
||||
const [filepath] = await saveToTempFile(part.file);
|
||||
|
||||
const tmpUploads = (request.tmpUploads ??= []);
|
||||
tmpUploads.push(filepath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue