mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 12:15:40 +08:00
Fix(router): fix QR data into image conversion (#4619)
This commit is contained in:
@ -185,7 +185,7 @@ impl QrImage {
|
|||||||
let image_data_source = format!(
|
let image_data_source = format!(
|
||||||
"{},{}",
|
"{},{}",
|
||||||
consts::QR_IMAGE_DATA_SOURCE_STRING,
|
consts::QR_IMAGE_DATA_SOURCE_STRING,
|
||||||
consts::BASE64_ENGINE.encode(image_bytes.get_ref().get_ref())
|
consts::BASE64_ENGINE.encode(image_bytes.buffer())
|
||||||
);
|
);
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
data: image_data_source,
|
data: image_data_source,
|
||||||
|
|||||||
Reference in New Issue
Block a user