Skip to content

Commit

Permalink
[TM-1401] Don't pretend this is returning the full tree species model.
Browse files Browse the repository at this point in the history
  • Loading branch information
roguenet committed Dec 5, 2024
1 parent b7bd679 commit acd04e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/entity-service/src/trees/research.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]: [
Expand Down

0 comments on commit acd04e8

Please sign in to comment.