This commit is contained in:
adueck 2022-11-18 14:01:25 +05:00
parent ce77308ee5
commit 68c1a70ecc
5 changed files with 1 additions and 7 deletions

View File

@ -26,8 +26,7 @@ async function main() {
await insertLingdocsUser({ await insertLingdocsUser({
...user, ...user,
tests: removeRedundant(user.tests), tests: removeRedundant(user.tests),
}) });
console.log("updated", user.name);
} }
}) })
return "done"; return "done";

View File

@ -312,7 +312,6 @@
bc.innerHTML = "Sending …"; bc.innerHTML = "Sending …";
fetch("/api/email-verification", { method: "PUT" }).then((res) => res.json()) fetch("/api/email-verification", { method: "PUT" }).then((res) => res.json())
.then((res) => { .then((res) => {
console.log(res);
if (res.ok) { if (res.ok) {
bc.innerHTML = "Sent ✔"; bc.innerHTML = "Sent ✔";
} else { } else {

View File

@ -74,7 +74,6 @@ function WordlistWordEditor({ word }: {
console.error("no audio file input"); console.error("no audio file input");
return; return;
} }
console.log(file);
const wordWAudio = addAudioToWordlistWord(word, file); const wordWAudio = addAudioToWordlistWord(word, file);
updateWordlistWord(wordWAudio); updateWordlistWord(wordWAudio);
clearAudioFileInput(); clearAudioFileInput();

View File

@ -151,8 +151,6 @@ export class DictionaryDb {
dictionaryInfo: dictionary.info, dictionaryInfo: dictionary.info,
}); });
} catch (e) { } catch (e) {
// console.log("bad error");
// console.log(e);
console.error("error loading dictionary for the first time"); console.error("error loading dictionary for the first time");
console.error(e); console.error(e);
reject(); reject();

View File

@ -34,7 +34,6 @@ export async function sendSubmissions() {
})); }));
const res = await postSubmissions(revRemoved); const res = await postSubmissions(revRemoved);
// delete the submissions that were received from the local submissions db // delete the submissions that were received from the local submissions db
console.log(res);
if (res.submissions) { if (res.submissions) {
res.submissions.forEach((submission) => { res.submissions.forEach((submission) => {
deleteFromLocalDb("submissions", submission._id); deleteFromLocalDb("submissions", submission._id);