Skip to content

Commit

Permalink
fix: renamed function
Browse files Browse the repository at this point in the history
  • Loading branch information
camarm-dev committed Nov 23, 2024
1 parent 08bd04b commit 85bcaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 85bcaef

Please sign in to comment.