Verified Commit 6d7a3678 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add dummy /agendas/-/items response

parent 2f8cba0b
Loading
Loading
Loading
Loading
+1 −0
Changes for portal/api/__init__.py: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@ from .blueprint import bp
from .auth import *
from .rest import *
from .version import *
from .agenda import *

portal/api/agenda.py

0 → 100644
+13 −0
Changes for portal/api/agenda.py: 13 added lines, 0 removed lines.
Original line number Diff line number Diff line
from .blueprint import bp


@bp.get("/agendas/-/items")
def the_agenda_items():
    # TODO Return actual items
    return [
        {"name": "Tagesordnung"},
        {"name": "Gremienberichte"},
        {"name": "Posteingang und Kummerkasten"},
        {"name": "fsco.li/portal zum Laufen bekommen"},
        {"name": "Sonstiges"},
    ]