Remove base64 storage testing debug messages

This commit is contained in:
Tulir Asokan
2017-11-24 16:54:27 +02:00
parent 8528f65848
commit a84349da85
-4
View File
@@ -61,11 +61,7 @@ class TelegramPuppet {
set: async (key, value) => {
// TODO test and (enable or remove)
if (Array.isArray(value)) {
console.log("Non-buffer array")
value = `b64:${Buffer.from(value).toString("base64")}`
} else if (value instanceof Buffer) {
console.log("Buffer array")
value = `b64:${value.toString("base64")}`
}
console.warn("SET", key, "=", JSON.stringify(value))
if (this.data[key] === value) {