fix: webhook field changed
This commit is contained in:
parent
499734ebf9
commit
7fde1e0e12
|
@ -1,6 +1,6 @@
|
||||||
json.id @webhook.id
|
json.id @webhook.id
|
||||||
json.(@webhook, :id, :http_method, :content_type, :url, :secret, :last_status, :is_active)
|
json.(@webhook, :id, :http_method, :content_type, :url, :secret, :last_status, :is_active)
|
||||||
json.type @webhook.hook_task_type
|
json.type @webhook.type
|
||||||
json.create_time Time.at(@webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S")
|
json.create_time Time.at(@webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S")
|
||||||
event = @webhook.events
|
event = @webhook.events
|
||||||
json.branch_filter event["branch_filter"]
|
json.branch_filter event["branch_filter"]
|
||||||
|
|
Loading…
Reference in New Issue