diff --git a/account/src/lib/couch-db.ts b/account/src/lib/couch-db.ts index d64f253..00a2cf0 100644 --- a/account/src/lib/couch-db.ts +++ b/account/src/lib/couch-db.ts @@ -178,5 +178,5 @@ function stringToHex(str: string) { } export function getWordlistDbName(uid: T.UUID): T.WordlistDbName { - return `wordlist-${stringToHex(uid)}` as T.WordlistDbName; + return `user-${stringToHex(uid)}` as T.WordlistDbName; } \ No newline at end of file diff --git a/website/src/App.tsx b/website/src/App.tsx index cdd1982..1145e0f 100644 --- a/website/src/App.tsx +++ b/website/src/App.tsx @@ -337,6 +337,7 @@ class App extends Component { private networkCronJob = new CronJob("* * * * *", () => { // TODO: check for new dictionary (in a seperate cron job - not dependant on the user being signed in)\ + console.log("cron job running"); this.handleLoadUser(); sendSubmissions(); this.handleDictionaryUpdate();