tmp-fix(templates): use barcode generation api

This commit is contained in:
philipp committed 2024-12-11 22:55:30 +01:00
1 parent 9076a9488e
commit 57f3a910f6
1 file changed
+1
+1
View File
@@ -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,