Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Feb 1, 2024
1 parent 86523da commit 2bf88c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/paths/taxonomy/taxon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GET.apiDoc = {
description: 'One or more search terms.',
items: {
type: 'string',
minLength: 3
minLength: 1
},
minItems: 1
}
Expand Down
1 change: 1 addition & 0 deletions api/src/paths/taxonomy/taxon/tsn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ GET.apiDoc = {
description: 'One or more Taxon TSN ids.',
items: {
type: 'integer',
minimum: 0,
minItems: 1,
maxItems: 100
}
Expand Down
2 changes: 1 addition & 1 deletion api/src/services/itis-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';
import { getLogger } from '../utils/logger';
import { TaxonSearchResult } from './taxonomy-service';

const defaultLog = getLogger('services/taxonomy-service');
const defaultLog = getLogger('services/itis-service');

export type ItisSolrSearchResponse = {
commonNames: string[];
Expand Down

0 comments on commit 2bf88c1

Please sign in to comment.