Skip to content

Commit

Permalink
Added 200 response
Browse files Browse the repository at this point in the history
  • Loading branch information
el-agua committed Jan 17, 2025
1 parent 5c6f189 commit c65b101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/alert/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def accept_webhook(request):
"""Your credentials cannot be verified.
They should be placed in the header as "Authorization-Bearer",
YOUR_APP_ID and "Authorization-Token" , YOUR_TOKEN""",
status=401,
status=200,
)

if request.method != "POST":
Expand Down
2 changes: 1 addition & 1 deletion k8s/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class MyChart extends PennLabsChart {
})

new CronJob(this, 'sync-path-course-statuses', {
schedule: cronTime.every(30).minutes(),
schedule: cronTime.every(5).minutes(),
image: backendImage,
secret,
cmd: ['python', 'manage.py', 'sync_path_status', '--slack'],
Expand Down

0 comments on commit c65b101

Please sign in to comment.