orion-server icon indicating copy to clipboard operation
orion-server copied to clipboard

return `not-found` response rather than empty response

Open cendhu opened this issue 3 years ago • 0 comments

When the requested data or user does not exist, we return an empty response. Instead, we should return not-found response message. We cannot use 404 because it would cause confusion whether the endpoint is not found or the data is not found.

cendhu avatar Jul 12 '21 11:07 cendhu