fixes to db writing
This commit is contained in:
parent
dc120ea55b
commit
c42e15b8c2
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ async function claim() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write db.data[user] to a file
|
// Write db.data[user] to a file
|
||||||
writeFileSync(`data/${user}.json`, JSON.stringify(db.data[user], null, 2));
|
writeFileSync(`data/steam.json`, JSON.stringify(db.data[user], null, 2));
|
||||||
console.log('Data written to file for user:', user);
|
console.log('Data written to file for user:', user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue