mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 13:36:25 -08:00
commit
3ad5215a48
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "monofile",
|
||||
"version": "1.3.1",
|
||||
"version": "1.3.2",
|
||||
"description": "Discord-based file sharing",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -320,7 +320,7 @@ export default class Files {
|
|||
|
||||
}
|
||||
|
||||
if (!file.sizeInBytes) file_updates.sizeInBytes = atSIB.reduce((a,b) => a+b);
|
||||
if (!file.sizeInBytes) file_updates.sizeInBytes = atSIB.reduce((a,b) => a+b, 0);
|
||||
if (!file.chunkSize) file_updates.chunkSize = atSIB[0]
|
||||
if (Object.keys(file_updates).length) { // if file_updates not empty
|
||||
// i gotta do these weird workarounds, ts is weird sometimes
|
||||
|
|
Loading…
Reference in a new issue