fix: webhook field changed

This commit is contained in:
yystopf 2021-12-30 09:47:12 +08:00
parent d6b66d5324
commit 43e0617429
1 changed files with 1 additions and 1 deletions

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