同步dev_educoder_v2的网络钩子

This commit is contained in:
zhongdejun 2025-06-23 17:42:10 +08:00
parent 34676d61f9
commit 7fc46e3964
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
json.id @webhook.id
json.(@webhook, :id, :http_method, :content_type, :url, :secret, :last_status, :is_active)
json.type @webhook.type
json.type @webhook.hook_task_type
json.create_time Time.at(@webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S")
event = @webhook.events
json.branch_filter event["branch_filter"]