Fix building post request url to /illegal
This commit is contained in:
parent
efbc8fa477
commit
d8be87a2f9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue