Skip to content

Commit

Permalink
CMR-10232: fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
eudoroolivares2016 committed Nov 4, 2024
1 parent 53393e1 commit 3fa5549
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/domains/stac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/routes/catalog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3fa5549

Please sign in to comment.