diff --git a/service/application/__init__.py b/service/application/__init__.py index 554183d..594a2b7 100644 --- a/service/application/__init__.py +++ b/service/application/__init__.py @@ -481,3 +481,7 @@ def get_export_data_token(s: t.SessionInfo): @get('/export-data/') def get_export_data(token: str): return person.get_export_data(token=token) + +@post('/kofi-donation') +def post_kofi_donation(req: t.PostKofiData): + return person.post_kofi_donation(req=req) diff --git a/service/person/__init__.py b/service/person/__init__.py index 509828f..1555ca1 100644 --- a/service/person/__init__.py +++ b/service/person/__init__.py @@ -1898,3 +1898,6 @@ def get_export_data(token: str): as_attachment=True, download_name='export.json', ) + +def post_kofi_donation(req: t.PostKofiData): + pass # TODO