From 85bcaef60103a453c3d7d6319cf0511ec2b1d278 Mon Sep 17 00:00:00 2001 From: camarm-dev Date: Sat, 23 Nov 2024 23:44:28 +0100 Subject: [PATCH] fix: renamed function --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index fb18ec45..0ee26b67 100644 --- a/server.py +++ b/server.py @@ -176,7 +176,7 @@ def root(): @app.get('/validity/{slug}') -def check_validity(slug: str): +def get_validity(slug: str): """ Returns the dictionary `slug` validity (`true`/`false`). It's a check to know if it follows his JSON Schema. """