You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you updated the title?
I have updated the issue's title.
Discussion
The API endpoints that toggle the driver, rider, and admin status for a user typically return messages like this one:
{
"message": "User with id 2 has toggled driver status"
}
It would be far more useful for devlopers to see something like this:
{
"message": "User with id 2 has toggled driver status from false to true"
}
OR:
{
"message": "User with id 2 has toggled driver status from true to false"
}
Acceptance Criteria:
The message for toggling admin has been updated to the new format.
The message for toggling driver has been updated to the new format.
The message for toggling rider has been updated to the new format.
Implementation Todos:
Frontend:
None.
Backend:
Fix message in UsersController for toggleAdmin and update tests.
Fix message in UsersController for toggleDriver and update tests.
Fix message in UsersController for toggleRider and update tests.
The text was updated successfully, but these errors were encountered:
Have you updated the title?
I have updated the issue's title.
Discussion
The API endpoints that toggle the driver, rider, and admin status for a user typically return messages like this one:
{
"message": "User with id 2 has toggled driver status"
}
It would be far more useful for devlopers to see something like this:
{
"message": "User with id 2 has toggled driver status from false to true"
}
OR:
{
"message": "User with id 2 has toggled driver status from true to false"
}
Acceptance Criteria:
The message for toggling admin has been updated to the new format.
The message for toggling driver has been updated to the new format.
The message for toggling rider has been updated to the new format.
Implementation Todos:
Frontend:
None.
Backend:
Fix message in UsersController for toggleAdmin and update tests.
Fix message in UsersController for toggleDriver and update tests.
Fix message in UsersController for toggleRider and update tests.
The text was updated successfully, but these errors were encountered: