mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
新增:webhook type类型
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
json.(webhook, :id, :url, :http_method, :is_active)
|
||||
json.(webhook, :id, :url, :http_method, :is_active, :type)
|
||||
json.last_status webhook.last_status
|
||||
json.create_time Time.at(webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S")
|
||||
@@ -1,4 +1,5 @@
|
||||
json.id webhook["id"]
|
||||
json.type webhook["type"]
|
||||
json.content_type webhook['config']['content_type']
|
||||
json.http_method webhook['config']['http_method']
|
||||
json.url webhook['config']['url']
|
||||
|
||||
Reference in New Issue
Block a user