mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
add: repository create webhook
This commit is contained in:
7
app/views/projects/webhooks/create.json.jbuilder
Normal file
7
app/views/projects/webhooks/create.json.jbuilder
Normal file
@@ -0,0 +1,7 @@
|
||||
json.id @webhook["id"]
|
||||
json.type @webhook["type"]
|
||||
json.content_type @webhook["config"]["content_type"]
|
||||
json.url @webhook["config"]["url"]
|
||||
json.events @webhook["events"]
|
||||
json.active @webhook["active"]
|
||||
json.create_time @webhook["created_at"].to_time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
Reference in New Issue
Block a user