Skip to content

Commit

Permalink
rm console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Dec 19, 2024
1 parent 1293896 commit 948fb18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/requestability_resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class RequestabilityResolver {
const holdingLocation = DeliveryLocationsResolver.extractLocationCode(item)
const nyplCoreLocation = DeliveryLocationsResolver.nyplCoreLocation(holdingLocation)
const isSpecialCollectionsOnlyAccessType = !!(nyplCoreLocation?.collectionAccessType === 'special')
console.log(item.holdingLocation, nyplCoreLocation?.collectionAccessType)
return !!item.aeonUrl || parentBibHasFindingAid || isSpecialCollectionsOnlyAccessType
}
}
Expand Down
1 change: 0 additions & 1 deletion test/requestability_resolver.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ describe('RequestabilityResolver', () => {

const items = response.hits.hits[0]._source.items
const specRequestableItem = items.find((item) => item.uri === 'i10283665777')
console.log(specRequestableItem)
expect(specRequestableItem.specRequestable).to.equal(true)
})

Expand Down

0 comments on commit 948fb18

Please sign in to comment.