Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Dec 5, 2024
1 parent 9a30f1f commit 552b722
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 51 deletions.
2 changes: 0 additions & 2 deletions .vscode/settings.json

This file was deleted.

1 change: 1 addition & 0 deletions lib/jsonld_serializers.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ class AggregationSerializer extends JsonLdItemSerializer {
// Build buildingLocation agg labels from nypl-core:
v.label = locations[v.value]?.label
} else if (field === 'recordType') {
console.log(v)
// Build buildingLocation agg labels from nypl-core:
v.label = recordTypes[v.value]?.label
} else {
Expand Down
48 changes: 0 additions & 48 deletions lib/response.js

This file was deleted.

2 changes: 1 addition & 1 deletion swagger.v1.1.x.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
{
"name": "filters[*]",
"in": "query",
"description": "Specify a hash of filters to apply, where key is: 'recordType','buildingLocation', 'owner', 'subjectLiteral', 'holdingLocation', 'deliveryLocation', 'language', 'materialType', 'mediaType', 'carrierType', 'publisher', 'contributor', 'creator', 'issuance', 'createdYear', 'dateAfter', or 'dateBefore'",
"description": "Specify a hash of filters to apply, where key is: 'recordType', 'buildingLocation', 'owner', 'subjectLiteral', 'holdingLocation', 'deliveryLocation', 'language', 'materialType', 'mediaType', 'carrierType', 'publisher', 'contributor', 'creator', 'issuance', 'createdYear', 'dateAfter', or 'dateBefore'",
"required": false,
"type": "string"
},
Expand Down

0 comments on commit 552b722

Please sign in to comment.