diff --git a/apps/entity-service/src/trees/research.service.ts b/apps/entity-service/src/trees/research.service.ts index 52037fc3..4f0ea79f 100644 --- a/apps/entity-service/src/trees/research.service.ts +++ b/apps/entity-service/src/trees/research.service.ts @@ -4,7 +4,7 @@ import { Injectable } from "@nestjs/common"; @Injectable() export class ResearchService { - async searchScientificNames(search: string) { + async searchScientificNames(search: string): Promise<{ taxonId: string; scientificName: string }[]> { return await TreeSpeciesResearch.findAll({ where: { [Op.or]: [