Skip to content

Commit 7a5f2c2

Browse files
Merge branch 'solapi:main' into main
2 parents ff4f074 + aa9bc34 commit 7a5f2c2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

examples/webhook/django_example/django_example/app/group_report_controller.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def post(self, request, *args, **kwargs):
3535
# 또는..
3636
print(group_report.data.log)
3737

38+
# 200을 리턴해야 합니다. (200이 리턴되지 않으면 특정 시간 간격을 두고 총 5번이 호출됩니다)
3839
return JsonResponse(group_report.model_dump(), status=200)
3940

4041
def options(self, request, *args, **kwargs):

examples/webhook/django_example/django_example/app/single_report_controller.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def post(self, request, *args, **kwargs):
3535
# 또는..
3636
print(single_report.data.naver_options)
3737

38+
# 200을 리턴해야 합니다. (200이 리턴되지 않으면 특정 시간 간격을 두고 총 5번이 호출됩니다)
3839
return JsonResponse(single_report.model_dump(), status=200)
3940

4041
def options(self, request, *args, **kwargs):

0 commit comments

Comments
 (0)