tmp-fix(templates): use barcode generation api
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user