update tag
This commit is contained in:
1 parent
16d1307744
commit
292beabffe
3 files changed
+20
-4
No files matched your search
@@ -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()}`;
|
||||
|
||||
Reference in new issue
Block a user