tmp-fix(templates): use barcode generation api
This commit is contained in:
parent
9076a9488e
commit
57f3a910f6
@ -18,6 +18,7 @@ const sendEmailSchema = z.object({
|
||||
})
|
||||
|
||||
async function generateBarcodeDataURL(data) {
|
||||
return `https://barcodeapi.org/api/128/${data}`
|
||||
const buffer = await toBuffer({
|
||||
bcid: 'code128',
|
||||
text: data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user