ADD VOLUME_MOUNT
parent
8a78820e96
commit
b5678bc3f8
2
main.py
2
main.py
|
|
@ -6,7 +6,6 @@ import uvicorn
|
||||||
import logging
|
import logging
|
||||||
import auth
|
import auth
|
||||||
from fastapi.security.api_key import APIKey
|
from fastapi.security.api_key import APIKey
|
||||||
import datetime
|
|
||||||
|
|
||||||
logging.basicConfig(level=logging.DEBUG) # add this line
|
logging.basicConfig(level=logging.DEBUG) # add this line
|
||||||
logger = logging.getLogger("foo")
|
logger = logging.getLogger("foo")
|
||||||
|
|
@ -50,7 +49,6 @@ def database(query,name,user):
|
||||||
|
|
||||||
app = FastAPI()
|
app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def notify():
|
async def notify():
|
||||||
return database(f"SELECT * FROM Notifications", "Stines-GmbH","")
|
return database(f"SELECT * FROM Notifications", "Stines-GmbH","")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue