mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
fix media upload error caused by extraneous array brackets
This commit is contained in:
parent
347edb107b
commit
22bba7fe6d
1 changed files with 1 additions and 1 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
Reference in a new issue