Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
fix: revert DB/SentenceMeta facade change
Browse files Browse the repository at this point in the history
This reverts commit 656be14.
  • Loading branch information
MichaelKohler committed Feb 2, 2020
1 parent d14f057 commit 5aa6060
Show file tree
Hide file tree
Showing 6 changed files with 640 additions and 561 deletions.
2 changes: 1 addition & 1 deletion scripts/exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async function backupAllLanguage(db, languageCode, exportPath) {
const cvPath = `${exportPath}/${languageCode}`;
let sentences = [];
try {
sentences = await db.getAll(dbLanguageCode);
sentences = await db.getAllSentences(dbLanguageCode);
} catch (err) { /* ignore for now, as we also get this if the code does not exist */ }

if (!sentences || sentences.length === 0) {
Expand Down
Loading

0 comments on commit 5aa6060

Please sign in to comment.