Skip to content

Commit

Permalink
Added config in commune fields returned by lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineludeau committed Dec 19, 2024
1 parent 7561a61 commit a004b59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/models/commune.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ async function getPopulatedCommune(codeCommune) {
'typeComposition',
'displayBBox',
'idRevision',
'dateRevision'
'dateRevision',
'config',
]

const commune = await mongo.db.collection('communes')
Expand Down

0 comments on commit a004b59

Please sign in to comment.