remove debug logs

This commit is contained in:
Abhinav 2024-01-17 11:03:42 +05:30
parent 8cdbe8de33
commit b6c041b4aa

View file

@ -174,9 +174,7 @@ function getYearSuggestion(searchPhrase: string): Suggestion[] {
export async function getAllPeopleSuggestion(): Promise<Array<Suggestion>> {
try {
addLogLine('getAllPeopleSuggestion called');
const people = await getAllPeople(200);
addLogLine(`found people: ${people?.length ?? 0}`);
return people.map((person) => ({
label: person.name,
type: SuggestionType.PERSON,