Skip to content

Commit 8aeadea

Browse files
author
Wesam Alzahir
committed
using PR #21 instead for TLV fix
1 parent 427e688 commit 8aeadea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zatca/qr/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const generateQR = ({invoice_xml, digital_signature, public_key, certific
4242
const formatted_datetime = moment(datetime).format("YYYY-MM-DDTHH:mm:ss")+"Z";
4343

4444
const qr_tlv = TLV([
45-
Buffer.from(seller_name as String),
45+
seller_name,
4646
VAT_number,
4747
formatted_datetime,
4848
invoice_total,
@@ -78,7 +78,7 @@ export const generateQR = ({invoice_xml, digital_signature, public_key, certific
7878
const formatted_datetime = moment(datetime).format("YYYY-MM-DDTHH:mm:ss")+"Z";
7979

8080
const qr_tlv = TLV([
81-
Buffer.from(seller_name as String),
81+
seller_name,
8282
VAT_number,
8383
formatted_datetime,
8484
invoice_total,

0 commit comments

Comments
 (0)