updates on various files
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
from fastapi import FastAPI
|
||||
from database import fetch_all
|
||||
from events.py import create_event
|
||||
|
||||
app = FastAPI(
|
||||
title="Calendar API",
|
||||
@@ -30,3 +31,5 @@ def database_status():
|
||||
"tables": [table["name"] for table in tables]
|
||||
}
|
||||
|
||||
@app.ge("/events")
|
||||
def create_events():
|
||||
|
||||
Reference in New Issue
Block a user