Fix building post request url to /illegal

This commit is contained in:
towards-a-new-leftypol 2024-12-29 10:29:29 +00:00
parent efbc8fa477
commit d8be87a2f9
1 changed files with 2 additions and 2 deletions

View File

@ -594,7 +594,7 @@ function onClickMarkIllegal(phashes, md5_hashes, e) {
e.stopPropagation();
e.preventDefault();
console.log('CLICK', phashes, e.target.hash);
console.log('CLICK', phashes, md5_hashes, e.target.hash);
const img_elems = document.querySelectorAll('img');
@ -704,7 +704,7 @@ function renderPostElem(post, btn_delete=false) {
if (p.hash != null) {
results_tuple[0].push(bufferToHex(unpackBytes(BigInt(p.phash))));
} else {
results_tuple[1].push(p.md5_sum);
results_tuple[1].push(p.md5_hash);
}
return results_tuple;