Skip to content

Commit

Permalink
Update funding via webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Dec 26, 2024
1 parent 699cd16 commit f8c556d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service/application/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,7 @@ def get_export_data_token(s: t.SessionInfo):
@get('/export-data/<token>')
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)
3 changes: 3 additions & 0 deletions service/person/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f8c556d

Please sign in to comment.