Skip to content

Commit

Permalink
fix: remove adapter check for tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 authored Jun 13, 2024
1 parent 5c7c430 commit 500b743
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions utils/wordcloud/wordcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ export async function makeWordcloud (e, groupId, duration = 0, userId) {
}

function getTokenizer (e) {
if (e.adapter === 'shamrock') {
return Tokenizer.shamrock
} else {
return Tokenizer.default
}
// if (e.adapter === 'shamrock') {
// return Tokenizer.shamrock
// } else {
// return Tokenizer.default
// }
return Tokenizer.default
}

0 comments on commit 500b743

Please sign in to comment.