Skip to content

Commit 8876cbb

Browse files
change naming conversion
1 parent 51bf20e commit 8876cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/withdrawn-migration/backup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async function backup () {
6161
})
6262
if (candidates && candidates.length > 0) {
6363
summary += candidates.length
64-
fs.writeFile(filePath + `jobcandidate-backup-${jc.userId}.json`, JSON.stringify(
64+
fs.writeFile(filePath + `jobcandidate-backup-${i+1}.json`, JSON.stringify(
6565
candidates
6666
), (err) => {
6767
if (!err) {

0 commit comments

Comments
 (0)