fix: hook tasks use is delivered data

This commit is contained in:
yystopf 2021-07-30 16:24:34 +08:00
parent eeb69daff1
commit bfef459b75
1 changed files with 1 additions and 1 deletions

View File

@ -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