We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c49c5e commit 2a03c22Copy full SHA for 2a03c22
src/index.js
@@ -90,7 +90,7 @@ class CoCreateFileSystem {
90
91
if (contentType.startsWith('image/') || contentType.startsWith('audio/') || contentType.startsWith('video/')) {
92
src = src.replace(/^data:image\/(png|jpeg|jpg);base64,/, '');
93
- src = Buffer.from(base64Data, 'base64');
+ src = Buffer.from(src, 'base64');
94
} else if (contentType === 'text/html') {
95
try {
96
src = await render.HTML(src, organization_id);
0 commit comments