BGWE / BoardgameWE

Backend of the Board Game Componion application.
MIT License
2 stars 0 forks source link

Delete unknown board game from library #260

Closed FServais closed 4 years ago

FServais commented 4 years ago

When sending a request to remove a board game from a user's library, should we check if it is there and send a 404?

Currently sending a 200.

waliens commented 4 years ago

It is the intended behavior. The outcome of this request is that the listed games are not associated to the library (even there were not beforehand). 200 means it is indeed the case. Do you think we should change this ? (I cannot see any scenario where this behavior is bad. Do you ?).