diff --git a/src/domains/stac.ts b/src/domains/stac.ts index ad8ff960..0a18c10a 100644 --- a/src/domains/stac.ts +++ b/src/domains/stac.ts @@ -362,7 +362,7 @@ export const sortByToSortKeys = ( } else if (fieldName.match(/^title$/i)) { mappedField = "entryTitle"; } else if (fieldName.match(/^datetime$/i)) { - // If descending `-start_date` will sort by oldest first + // If descending `-start_date` will sort by newest first mappedField = "startDate"; } else { mappedField = fieldName; diff --git a/src/routes/catalog.ts b/src/routes/catalog.ts index 7d593d6e..d378abc3 100644 --- a/src/routes/catalog.ts +++ b/src/routes/catalog.ts @@ -60,7 +60,6 @@ const generateSelfLinks = (req: Request, nextCursor?: string | null, count?: num type: "application/json", title: "Conformance Classes", }, - // TODO this is where you'd change the mimetype value { rel: "service-desc", href: "https://api.stacspec.org/v1.0.0-beta.1/openapi.yaml",