Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature types #254

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -9,7 +9,7 @@ export const GET: Operation = [findTaxonBySearchTerms()];

GET.apiDoc = {
description: 'Find taxon records by search criteria.',
tags: ['taxonomy'],
tags: ['taxon_id'],
security: [
{
Bearer: []
Expand Down
2 changes: 1 addition & 1 deletion api/src/paths/taxonomy/taxon/tsn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const GET: Operation = [getTaxonByTSN()];

GET.apiDoc = {
description: 'Get taxon records by TSN ids.',
tags: ['taxonomy'],
tags: ['taxon_id'],
security: [
{
Bearer: []
Expand Down
4 changes: 2 additions & 2 deletions api/src/repositories/search-index-repository.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe('SearchIndexRepository', () => {
feature_property_type_name: 'number',
feature_property_id: 3,
feature_property_type_id: 2,
name: 'taxonomy',
name: 'taxon_id',
display_name: 'Taxonomy Id',
description: 'The taxonomy Id associated to the record',
parent_feature_property_id: null,
Expand Down Expand Up @@ -392,7 +392,7 @@ describe('SearchIndexRepository', () => {
feature_property_type_name: 'number',
feature_property_id: 3,
feature_property_type_id: 2,
name: 'taxonomy',
name: 'taxon_id',
display_name: 'Taxonomy Id',
description: 'The taxonomy Id associated to the record',
parent_feature_property_id: null,
Expand Down
3 changes: 1 addition & 2 deletions database/.docker/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ARG POSTGRES_VERSION=12.5

FROM postgres:$POSTGRES_VERSION
FROM postgres:14.2-bullseye

# read env variables
ARG TZ=America/Vancouver
Expand Down
Loading