new userdb form
This commit is contained in:
parent
b673fa6e93
commit
3c70ef12ef
|
@ -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;
|
||||
}
|
|
@ -337,6 +337,7 @@ class App extends Component<RouteComponentProps, State> {
|
|||
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue