Skip to content

Commit

Permalink
🤩
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwit-y committed Nov 26, 2024
1 parent 30fc132 commit 10061f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/mod/vocabulary/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class VocabularyService implements IVocabularyService {
}

public async newWord(word: string): Promise<TVocabulary[]> {
//TODO: check word is A-Z only
try {
const v = await this.findByWord(word);
if (v.length > 0) return v;
Expand Down

0 comments on commit 10061f9

Please sign in to comment.