fix: webhook field changed

This commit is contained in:
2021-12-30 09:47:12 +08:00
parent d6b66d5324
commit 43e0617429

View File

@@ -1,4 +1,4 @@
json.(webhook, :id, :url, :http_method, :is_active)
json.type webhook.hook_task_type
json.type webhook.type
json.last_status webhook.last_status
json.create_time Time.at(webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S")