From 7fc46e39645b6888be737ae4b243222d0d7d2676 Mon Sep 17 00:00:00 2001 From: zhongdejun <352497398@qq.com> Date: Mon, 23 Jun 2025 17:42:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5dev=5Feducoder=5Fv2=E7=9A=84?= =?UTF-8?q?=E7=BD=91=E7=BB=9C=E9=92=A9=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/projects/webhooks/edit.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/webhooks/edit.json.jbuilder b/app/views/projects/webhooks/edit.json.jbuilder index 4085e2a64..5487b1769 100644 --- a/app/views/projects/webhooks/edit.json.jbuilder +++ b/app/views/projects/webhooks/edit.json.jbuilder @@ -1,6 +1,6 @@ json.id @webhook.id json.(@webhook, :id, :http_method, :content_type, :url, :secret, :last_status, :is_active) -json.type @webhook.type +json.type @webhook.hook_task_type json.create_time Time.at(@webhook.created_unix).strftime("%Y-%m-%d %H:%M:%S") event = @webhook.events json.branch_filter event["branch_filter"]