update tag

This commit is contained in:
polv committed 2022-04-28 16:06:38 +07:00
1 parent 16d1307744
commit 292beabffe
3 files changed
+20 -4

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ async function makeWaniKaniKanjiLevels(
for (const k of wkKanji) {
const { level, characters } = k.data;
const label = WaniKani.getLevelLabel(level);
if (!label) throw new Error(`Invalid level: ${level}`);
const category = `${label.range}: ${
label.ja
} ${label.en.toLocaleUpperCase()}`;