Skip to content

Commit acbce52

Browse files
Update app/services/notifications/setup/fetch-download-recipients.service.js
Co-authored-by: Alan Cruikshanks <[email protected]>
1 parent e1598aa commit acbce52

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app/services/notifications/setup/fetch-download-recipients.service.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ const { db } = require('../../../../db/db.js')
3838
* If a licence is registered, we only extract the email contacts. Unregistered licences its the 'Licence holder' and
3939
* 'Returns to' contacts from `licence_document_headers.metadata->contacts`.
4040
*
41-
* We have another service 'FetchContactsService' which removes duplicates rows by squashing them together.
42-
* We do not want to remove duplicates for the downloadable recipients. Each row in the CSV file should represent the
43-
* data received from this query (For either registered to unregistered licence).
44-
* We expect to see duplicate licences with different contacts types
45-
* (but still preferring the registered over unregistered licence).
41+
* We have another service 'FetchContactsService' which removes duplicates rows by squashing them together. We do not
42+
* want to remove duplicates for the downloadable recipients. Each row in the CSV file should represent the data
43+
* received from this query (For either registered to unregistered licence). We expect to see duplicate licences with
44+
* different contacts types (but still preferring the registered over unregistered licence).
4645
*
4746
* @param {Date} dueDate
4847
* @param {boolean} summer

0 commit comments

Comments
 (0)