saferwall-api icon indicating copy to clipboard operation
saferwall-api copied to clipboard

Fix returned HTTP response for some specific cases

Open ayoubfaouzi opened this issue 2 years ago • 2 comments

  • [x] Get/files/sha256?fields=x always includes comments_count, we should omit that field.
  • [x] Get /files/sha256?fields=not_exist return internal error, we should return bad request or something like that.
  • [ ] When there is no activity, the log shows some internal server error.
  • [ ] Following a non existing user returns ok

ayoubfaouzi avatar Apr 28 '23 00:04 ayoubfaouzi

#76

ayoubfaouzi avatar Jul 30 '24 00:07 ayoubfaouzi

TODO:

  • check filter allowed for user entity when using lookups, maybe redundant.

ayoubfaouzi avatar Jul 30 '24 00:07 ayoubfaouzi