fix:レビュー指摘反映、スタートアップイベントが実行されていなかったのを修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2023-09-01 11:19:13 +09:00
parent 5d5ef88339
commit 11990ab6cc

View File

@ -43,4 +43,4 @@ app.add_exception_handler(status.HTTP_403_FORBIDDEN, http_exception_handler)
app.add_exception_handler(UnexpectedException, http_exception_handler)
# サーバー起動時のイベント
app.add_event_handler('startup', task.create_start_app_handler)
app.add_event_handler('startup', task.create_start_app_handler())