Skip to content

Conversation

@Findeton
Copy link
Contributor

Automate filling in election IDs. If the election ID in the Election JSON is negative, replace it with new Election IDs.

Changes

  • Add new method fillInElectionIds. The method detects wether there's any election ID with negative numbers, if there isn't any it returns the election json unmodified.
  • If there is a negative election ID, make a call to the auth api (IAM) to find out the highest existing election ID. Use that to replace the negative election IDs with new election IDs.
  • Call the new method fillInElectionIds after editing the election JSON.

* wip

* wip

* wip

* wip

* wip

* wip

* parent id

* wip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants