remove 'D:\test.jpg' testing from get-attachment

This commit is contained in:
zefie
2022-02-11 19:01:52 -05:00
parent bc401765e8
commit afb236e7da

View File

@@ -18,5 +18,4 @@ if (!errpage) {
headers = `200 OK
Content-Type: ${message.attachments[attachment_id]['Content-Type']}`;
data = new Buffer.from(message.attachments[attachment_id]['data'], 'base64');
fs.writeFileSync("D:\\test.jpg", data);
}