From d04f23cc51716d49e10ea7714d6c4e2fc3815c48 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Thu, 24 Dec 2020 08:13:59 +0200 Subject: Update admin add route docstring Co-authored-by: Joe Banks --- backend/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/admin.py b/backend/routes/admin.py index ff329fa..5254f8b 100644 --- a/backend/routes/admin.py +++ b/backend/routes/admin.py @@ -28,7 +28,7 @@ class AdminRoute(Route): tags=["admin"] ) async def post(self, request: Request) -> JSONResponse: - """Inserts new administrator user to DB.""" + """Grant a user administrator privileges.""" data = await request.json() admin = AdminModel(**data) -- cgit v1.2.3