Remove API key From Console

This commit is contained in:
2023-08-22 22:23:14 +02:00
parent e901de5718
commit 68b80144a4
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def database(query,name,user):
app = FastAPI()
@app.get("/")
async def notify():
async def notify(api_key: APIKey = Depends(auth.get_api_key)):
return database(f"SELECT * FROM Notifications", "Stines-GmbH","")
@app.get("/gettime")