From 1b242075d75fa2d7f666d80dd75d765f756cc641 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Fri, 16 Jul 2021 13:51:23 -0400 Subject: [PATCH] Fix up API documentation in main.rs --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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