exclude checkincover to account for bug

This commit is contained in:
Pablo Martin 2024-05-15 13:09:27 +02:00
parent 824ff8da9e
commit 7a2663989c

View file

@ -62,6 +62,13 @@ with
left join
stg_core__verification_type vt
on vstvt.id_verification_type = vt.id_verification_type
-- This hardcode was implement on 2024-05-15 because there is a gap in
-- the backend. CheckInCover is included as a verification in the
-- verification request, but if the client doesn't purchase it, it
-- never gets marked as complete (id_verification_status = 1).
-- We are ignoring it for now until this bug is fixed. Once the bug
-- is fixed, this need to be removed.
where vt.verification_type not in ('CheckInCover')
),
same_vr_verification_state as (
select vr.id_verification_request, v.verification, v.id_verification_status