updates on various files
This commit is contained in:
1 parent
8ed7993573
commit
344e35b823
8 files changed
+125
-1
No files matched your search
@@ -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