Commit d339a06e authored by JC Brand's avatar JC Brand

Bugfix. Wrong dict key used.

parent 7076146d
......@@ -73,7 +73,7 @@
}
if (result.image) {
const word_array_from_b64 = CryptoJS.enc.Base64.parse(result['image']);
result['image_type'] = CryptoJS.SHA1(word_array_from_b64).toString()
result['image_hash'] = CryptoJS.SHA1(word_array_from_b64).toString()
}
if (callback) {
callback(result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment