-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat(condo): DOMA-9944 parse QR code in base64 format in ValidateQRCodeService #5217
base: main
Are you sure you want to change the base?
feat(condo): DOMA-9944 parse QR code in base64 format in ValidateQRCodeService #5217
Conversation
744fb56
to
2968d76
Compare
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
It looks like you should add at least one REAL WORLD TEST CASE where we have a problem with encoding. |
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
apps/condo/domains/billing/utils/countrySpecificQRCodeParsers/ru.qrCodeParser.js
Outdated
Show resolved
Hide resolved
|
||
if (!matches) { | ||
logger.error({ msg:'Error qr-code parsing', data: { qrStr, decodedRequisitesStr: decodedQrStr, detectedEncoding } }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.error({ msg:'Error qr-code parsing', data: { qrStr, decodedRequisitesStr: decodedQrStr, detectedEncoding } }) | |
logger.error({ msg:'Error qr-code parsing', data: { qrStr, decodedQrStr, detectedEncoding } }) |
throw new Error('Invalid QR code') | ||
} | ||
logger.info({ msg:'Parsed qr-code', data: { qrStr, decodedRequisitesStr: decodedQrStr, detectedEncoding } }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logger.info({ msg:'Parsed qr-code', data: { qrStr, decodedRequisitesStr: decodedQrStr, detectedEncoding } }) | |
logger.info({ msg:'Parsed qr-code', data: { qrStr, decodedQrStr, detectedEncoding } }) |
c8bd005
to
af09626
Compare
Quality Gate passedIssues Measures |
No description provided.