Skip to content

Commit

Permalink
Added ga action test in api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Deutscher775 authored Aug 21, 2024
1 parent 8be4073 commit 2d363dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ def view_logs(token: Annotated[str, fastapi.Query(max_length=85, min_length=10)]
else:
return fastapi.responses.Response(status_code=404)

@api.get("/ga-test")
def ga_test():
return fastapi.responses.JSONResponse(status_code=200, content={"commited": "210824-11"})

@api.get("/assets/{asset}", description="Get an asset.")
def get_asset(asset: str, width: int = None, height: int = None):
if not width and not height:
Expand Down

0 comments on commit 2d363dc

Please sign in to comment.