feat: exclude characters with 'family' in their name from fetch results
All checks were successful
Build Docker Image / build (push) Successful in 1m14s
All checks were successful
Build Docker Image / build (push) Successful in 1m14s
This commit is contained in:
@@ -307,6 +307,10 @@ async function fetchAllCharacters(arcsList: Arc[]): Promise<Character[]> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (charName.toLowerCase().includes('family')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (charUrl) {
|
if (charUrl) {
|
||||||
charUrl = charUrl.replace('/wiki/', '');
|
charUrl = charUrl.replace('/wiki/', '');
|
||||||
characterList.push({
|
characterList.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user