Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Apr 12, 2024
1 parent 6e0843f commit 398dce6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion smartbets_API/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.2.7"
__version__ = "1.2.8"
__author__ = "Smartwa Caleb"
from .bet_at_rest_api_level import predictor as rest_api
from .predictor import predictor
Expand Down
2 changes: 1 addition & 1 deletion smartbets_API/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def verify_token(token: Annotated[str, Depends(v1_auth_scheme)]):
@app.get("/")
def home():
"""Redirect to api playground"""
return RedirectResponse("/v1/docs")
return RedirectResponse("/docs")


@app.get("/status")
Expand Down

0 comments on commit 398dce6

Please sign in to comment.