cal-itp / eligibility-server

Server implementation of the Eligibility Verification API
https://docs.calitp.org/eligibility-server
GNU Affero General Public License v3.0
3 stars 3 forks source link

Fix: Remove unique constraint from `sub` field #494

Closed thekaveman closed 3 weeks ago

thekaveman commented 3 weeks ago

Closes #493

We're seeing duplicate records in the output file. Since we don't have access to the source data, and a duplicate sub doesn't impact a user's ability to verify, we can ignore duplicates.

I also added the same small fix as https://github.com/cal-itp/benefits/pull/2346

github-actions[bot] commented 3 weeks ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  eligibility_server/db
  models.py
Project Total  

This report was generated by python-coverage-comment-action