Closed st3v3nhunt closed 7 years ago
Within the dedupe function https://github.com/nhsuk/connecting-to-services/blob/master/app/lib/dedupePharmacies.js#L8 identifier is used to check for uniqueness. When the API is using docDB for its data source the returned items will include id which is a copy of identifier.
identifier
id
This change opens up the possibility for the dedupe function to use id which has the knock on effect of the API being able to change to not request and return the identifier property.
No longer relevant as docDB is not going to be used by the API
Within the dedupe function https://github.com/nhsuk/connecting-to-services/blob/master/app/lib/dedupePharmacies.js#L8
identifier
is used to check for uniqueness. When the API is using docDB for its data source the returned items will includeid
which is a copy ofidentifier
.This change opens up the possibility for the dedupe function to use
id
which has the knock on effect of the API being able to change to not request and return theidentifier
property.