mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
Remove Boolean from checks
Co-authored-by: Jack W. <29169102+Jack5079@users.noreply.github.com>
This commit is contained in:
parent
3dec4d401e
commit
dbe927f367
|
@ -101,7 +101,7 @@ module.exports = function(files: Files) {
|
|||
|
||||
const deleteAccount = () => Accounts.deleteAccount(accountId).then(_ => res.send("account deleted"))
|
||||
|
||||
if (Boolean(deleteFiles)) {
|
||||
if (deleteFiles) {
|
||||
const Files = targetAccount.files.map(e => e)
|
||||
|
||||
for (let fileId of Files) {
|
||||
|
|
Loading…
Reference in a new issue