fix: use name
instead of file
(#281)
Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
This commit is contained in:
parent
fb5f50d5bd
commit
283c7c5a26
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ async function main() {
|
|||
const mime = await guess(files[i].split('.').pop());
|
||||
|
||||
data.push({
|
||||
file: files[i],
|
||||
name: files[i],
|
||||
mimetype: mime,
|
||||
userId,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue