Commit 3cacaeab authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Follow "acte.votes".

parent e3202128
......@@ -1599,9 +1599,9 @@
"integrity": "sha512-/HNLX4NpeAwl1w1a+z9t2sgdpXXDWXcS+JqgQTcv755wPFIiLuZai0Z9pg7LXGmm+vkVaubXfAMisiDje8aWqQ=="
},
"@tricoteuses/assemblee": {
"version": "0.10.7",
"resolved": "https://registry.npmjs.org/@tricoteuses/assemblee/-/assemblee-0.10.7.tgz",
"integrity": "sha512-7Phru9ScDukkdC9ag1m8dFHhxQ9EVtScizUF6eD/r67ysFAVXW33HJt9X1tPfF4mhG49c5JMk3brh0KYva+hVQ==",
"version": "0.10.8",
"resolved": "https://registry.npmjs.org/@tricoteuses/assemblee/-/assemblee-0.10.8.tgz",
"integrity": "sha512-9oIUmbynhB+OzSLJUHx1Q9j3FWtlBWoZA0KmsATp+meWxR8wIAp7BQlJwn6NUp6WJjdTMXzSJzmjqrT9QX7oKQ==",
"requires": {
"command-line-args": "^5.1.1",
"fs-extra": "^8.1.0",
......
......@@ -12,6 +12,7 @@ export const allFollows = [
"acte.texteAdopte",
"acte.texteAssocie",
"acte.textesAssocies.texteAssocie",
"acte.votes",
"acteur.mandats.organes",
"amendement.identifiant.saisine.texteLegislatif",
"amendement.signataires.auteur.acteur",
......@@ -244,6 +245,11 @@ export class DataGetter {
this.requestDocument(textAssocie.texteAssocieRef)
}
}
if (this.follow.has("acte.votes")) {
for (const voteRef of acte.voteRefs || []) {
this.requestScrutin(voteRef)
}
}
for (const childActe of acte.actesLegislatifs || []) {
this.followActe(childActe)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment