fix: don't show 404 if no comments
This commit is contained in:
parent
9d9c4f026d
commit
4c35f9a0cf
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ object CommentsAPI {
|
|||
val json = request.get(url)
|
||||
if (!json.text.startsWith("{")) return null
|
||||
val res = json.code == 200
|
||||
if (!res) {
|
||||
if (!res && json.code != 404) {
|
||||
errorReason(json.code, json.text)
|
||||
}
|
||||
val parsed = try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue