diff --git a/src/main.rs b/src/main.rs index a7841c3..6597119 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,9 +24,7 @@ fn index() -> &'static str { `GET /api/users//` Check if the user exists, and if the pin provided matches - `POST /api/register///` Change a users pin ( is an int) - - `POST /api/register///` Change a users name ( is an str)" + `POST /api/users/change////` Change a users name and/or pin" } // The output is wrapped in a Result to allow matching on errors