Skip to content

Commit

Permalink
feat: Add info log
Browse files Browse the repository at this point in the history
  • Loading branch information
PMax5 committed Mar 31, 2023
1 parent 7f2fe78 commit a52aa24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/resources/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ async function zipFiles(links) {
let files = await File.find(filter)
if (files) {
await async.eachSeries(files, async (file) => {
log.info({ file: `Processing CV file: ${file.id}` })
let link = links.find((link) => { return link.attendee === file.user })
let user = await server.methods.user.get({ 'id': file.user })
let fileData = fs.readFileSync(`${config.upload.path}/${file.id}`)
Expand Down

0 comments on commit a52aa24

Please sign in to comment.