kaas update
This commit is contained in:
@@ -8,6 +8,8 @@ from rooms import create_room, search_room, accept_room
|
|||||||
from permissions import has_role
|
from permissions import has_role
|
||||||
from events import create_event, get_user_events, check_event_threshold
|
from events import create_event, get_user_events, check_event_threshold
|
||||||
|
|
||||||
|
from event_signups import respond_to_event, count_confirmations
|
||||||
|
|
||||||
from fastapi import HTTPException
|
from fastapi import HTTPException
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from typing import Literal
|
from typing import Literal
|
||||||
@@ -305,3 +307,10 @@ def respond_event(
|
|||||||
"status": "response_saved",
|
"status": "response_saved",
|
||||||
"going": count_confirmations(event_id)
|
"going": count_confirmations(event_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
print()
|
||||||
|
print("YOU CAN NOT START THE SERVER WITH PYTHON")
|
||||||
|
print("start with:")
|
||||||
|
print("$ bash start_server.sh")
|
||||||
|
print()
|
||||||
Reference in New Issue
Block a user