saferwall-api
saferwall-api copied to clipboard
Fix returned HTTP response for some specific cases
- [x] Get
/files/sha256?fields=xalways includescomments_count, we should omit that field. - [x] Get
/files/sha256?fields=not_existreturn 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
#76
TODO:
- check filter allowed for user entity when using lookups, maybe redundant.