Some fixes

This commit is contained in:
2022-02-28 21:52:12 +01:00
parent f8d89eb8e6
commit 3174439d78
5 changed files with 27 additions and 19 deletions

View File

@@ -22,9 +22,9 @@ export const set_file = async file => {
} else if (file.abuse_type !== "") {
viewer_type = "abuse"
} else if (
file.availability !== "file_rate_limited_captcha_required" ||
file.availability !== "ip_download_limited_captcha_required" ||
file.availability !== "ip_transfer_limited_captcha_required"
file.availability === "file_rate_limited_captcha_required" ||
file.availability === "ip_download_limited_captcha_required" ||
file.availability === "ip_transfer_limited_captcha_required"
) {
viewer_type = "rate_limit"
} else {