mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
fixed another issue highlighted by tests
This commit is contained in:
parent
b33ce14589
commit
7ba31ce91f
@ -75,4 +75,9 @@ class Profile extends JikanApiSearchableModel
|
||||
"username"
|
||||
];
|
||||
}
|
||||
|
||||
public function getTitleAttributeName(): string
|
||||
{
|
||||
return "username";
|
||||
}
|
||||
}
|
||||
|
@ -40,6 +40,8 @@ trait ScoutFlush
|
||||
"filter_by" => "mal_id:>0",
|
||||
"batch_size" => 500
|
||||
]);
|
||||
|
||||
$typeSenseClient->deleteCollection($modelInstance->searchableAs());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user