Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verifica del vaccino Novavax non valida #43

Closed
jam830 opened this issue Mar 21, 2022 · 4 comments · Fixed by #44
Closed

Verifica del vaccino Novavax non valida #43

jam830 opened this issue Mar 21, 2022 · 4 comments · Fixed by #44
Assignees

Comments

@jam830
Copy link

jam830 commented Mar 21, 2022

Describe the bug
Quando viene inviata alla libreria un QR-Code di un vaccinato con Novavax (Nuvaxoid) da più di 15 giorno, quindi valido, l'sdk ritorna: "Not EMA vaccine is not valid for worker with age < 50 years".

Il QR-Code verificato con l'app cverifica-19 risulta funzionare correttamente.

To Reproduce

  1. Verificare un certificato di un utente vaccinato con Novavax (Nuvaxoid)
  2. See error
@DevPGS
Copy link

DevPGS commented Mar 21, 2022

see #38,
nel source code non è presente il nuovo codice per Nuvaxoid [EU/1/21/1618], che invece è disponibile nei settings di dgc.

settings

{"name":"EMA_vaccines","type":"GENERIC","value":"EU/1/20/1525;EU/1/20/1507;EU/1/20/1528;EU/1/21/1529;Covishield;R-COVI;Covid-19-recombinant;EU/1/21/1618"}

validator.js

const JOHNSON = 'EU/1/20/1525';
const SPUTNIK = 'Sputnik-V';
const MODERNA = 'EU/1/20/1507';
const PFIZER = 'EU/1/20/1528';
const ASTRAZENECA = 'EU/1/21/1529';
const COVISHIELD = 'Covishield';
const R_COVI = 'R-COVI';
const COVID19_RECOMBINANT = 'Covid-19-recombinant';

const VACCINES_EMA_LIST = [JOHNSON, MODERNA, PFIZER, ASTRAZENECA, COVISHIELD, R_COVI, COVID19_RECOMBINANT];

@astagi astagi linked a pull request Mar 21, 2022 that will close this issue
@astagi
Copy link
Member

astagi commented Mar 21, 2022

Grazie della segnalazione @jam830 entro domani rilascio il fix! @DevPGS per la #38 ci lavorerò nei prossimi giorni :)

@astagi astagi self-assigned this Mar 21, 2022
@astagi
Copy link
Member

astagi commented Mar 22, 2022

Rilasciata versione con fix

@jam830
Copy link
Author

jam830 commented Mar 23, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants