mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
add: repository webhooks
This commit is contained in:
4
app/views/projects/webhooks/_detail.json.jbuilder
Normal file
4
app/views/projects/webhooks/_detail.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.(webhook, :id, :url, :http_method, :is_active)
|
||||
json.type webhook.hook_task_type
|
||||
json.last_status webhook.last_status
|
||||
json.create_time Time.at(webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S")
|
||||
Reference in New Issue
Block a user