cleanup
This commit is contained in:
parent
ce77308ee5
commit
68c1a70ecc
|
@ -26,8 +26,7 @@ async function main() {
|
|||
await insertLingdocsUser({
|
||||
...user,
|
||||
tests: removeRedundant(user.tests),
|
||||
})
|
||||
console.log("updated", user.name);
|
||||
});
|
||||
}
|
||||
})
|
||||
return "done";
|
||||
|
|
|
@ -312,7 +312,6 @@
|
|||
bc.innerHTML = "Sending …";
|
||||
fetch("/api/email-verification", { method: "PUT" }).then((res) => res.json())
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
if (res.ok) {
|
||||
bc.innerHTML = "Sent ✔";
|
||||
} else {
|
||||
|
|
|
@ -74,7 +74,6 @@ function WordlistWordEditor({ word }: {
|
|||
console.error("no audio file input");
|
||||
return;
|
||||
}
|
||||
console.log(file);
|
||||
const wordWAudio = addAudioToWordlistWord(word, file);
|
||||
updateWordlistWord(wordWAudio);
|
||||
clearAudioFileInput();
|
||||
|
|
|
@ -151,8 +151,6 @@ export class DictionaryDb {
|
|||
dictionaryInfo: dictionary.info,
|
||||
});
|
||||
} catch (e) {
|
||||
// console.log("bad error");
|
||||
// console.log(e);
|
||||
console.error("error loading dictionary for the first time");
|
||||
console.error(e);
|
||||
reject();
|
||||
|
|
|
@ -34,7 +34,6 @@ export async function sendSubmissions() {
|
|||
}));
|
||||
const res = await postSubmissions(revRemoved);
|
||||
// delete the submissions that were received from the local submissions db
|
||||
console.log(res);
|
||||
if (res.submissions) {
|
||||
res.submissions.forEach((submission) => {
|
||||
deleteFromLocalDb("submissions", submission._id);
|
||||
|
|
Loading…
Reference in New Issue