mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 14:11:42 +08:00
fix: hook tasks use is delivered data
This commit is contained in:
@@ -59,7 +59,7 @@ class Projects::WebhooksController < Projects::BaseController
|
||||
end
|
||||
|
||||
def tasks
|
||||
@tasks = @webhook.tasks.order("delivered desc")
|
||||
@tasks = @webhook.tasks.where(is_delivered: true).order("delivered desc")
|
||||
@tasks = kaminari_paginate(@tasks)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user