mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +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!(
|
||||
"{},{}",
|
||||
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 {
|
||||
data: image_data_source,
|
||||
|
||||
Reference in New Issue
Block a user