add: repository webhooks

This commit is contained in:
2021-07-26 17:25:06 +08:00
parent 8905f60265
commit ebc4305ca8
9 changed files with 263 additions and 1 deletions

View 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")