We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51bf20e commit 8876cbbCopy full SHA for 8876cbb
scripts/withdrawn-migration/backup.js
@@ -61,7 +61,7 @@ async function backup () {
61
})
62
if (candidates && candidates.length > 0) {
63
summary += candidates.length
64
- fs.writeFile(filePath + `jobcandidate-backup-${jc.userId}.json`, JSON.stringify(
+ fs.writeFile(filePath + `jobcandidate-backup-${i+1}.json`, JSON.stringify(
65
candidates
66
), (err) => {
67
if (!err) {
0 commit comments