From fd9dc286b24ef0dcbdf1f864dfd37f032aea3797 Mon Sep 17 00:00:00 2001 From: cubemaster21 Date: Tue, 13 Jun 2023 11:00:46 -0400 Subject: [PATCH] fixed paste error --- processors/superstockamx.processor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processors/superstockamx.processor.js b/processors/superstockamx.processor.js index 0b191a3..c1b5e05 100644 --- a/processors/superstockamx.processor.js +++ b/processors/superstockamx.processor.js @@ -14,7 +14,7 @@ module.exports = { console.log('Found base64 image.') const regex = /^data:(?[^;]+);base64,(?.+)/g; - const matches = data.matchAll(regex); + const matches = src.matchAll(regex); const groups = Array.from(matches, m => m.groups)[0]