diff options
Diffstat (limited to 'controllers/albumsController.js')
| -rw-r--r-- | controllers/albumsController.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/controllers/albumsController.js b/controllers/albumsController.js index 11b7903..2cdd06e 100644 --- a/controllers/albumsController.js +++ b/controllers/albumsController.js @@ -165,6 +165,7 @@ albumsController.generateZip = async (req, res, next) => { .generateNodeStream({ type: 'nodebuffer', streamFiles: true }) .pipe(fs.createWriteStream(zipPath)) .on('finish', async () => { + console.log(`Generated zip for album identifier: ${identifier}`); await db.table('albums') .where('id', album.id) .update({ zipGeneratedAt: Math.floor(Date.now() / 1000) }); |