Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jun 25, 2020

Adenylatcyclase added 16 commits June 25, 2020 19:20
+ better code for forbidden attributes (403 forbidden)
users should only be created through the /register routine
some routes might need to operate on the results
now returns a tuple of data, msg and code
best compromise for easy controller returns while still being able to access the raw data.
the tuple can be wrapped in the wrap_response() method
#72
now returns a msg and code in case of an error
as per description 403 is for requests that are technically valid but the server refuses to process
unfortunately this breaks create_project test
@ghost ghost requested a review from petak5 June 25, 2020 21:39
@petak5 petak5 merged commit bfada7f into develop Jun 26, 2020
@petak5 petak5 deleted the routes-user-refactor branch June 26, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant