ADD VOLUME_MOUNT
parent
aa52e0f873
commit
8a78820e96
2
main.py
2
main.py
|
|
@ -55,7 +55,7 @@ app = FastAPI()
|
||||||
async def notify():
|
async def notify():
|
||||||
return database(f"SELECT * FROM Notifications", "Stines-GmbH","")
|
return database(f"SELECT * FROM Notifications", "Stines-GmbH","")
|
||||||
|
|
||||||
@app.get("gettime")
|
@app.get("/gettime")
|
||||||
async def gettime(api_key: APIKey = Depends(auth.get_api_key)):
|
async def gettime(api_key: APIKey = Depends(auth.get_api_key)):
|
||||||
return f"Current Time is {datetime.now()}"
|
return f"Current Time is {datetime.now()}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue