aboutsummaryrefslogtreecommitdiffstats
path: root/models/actions/schedule_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/actions/schedule_list.go')
-rw-r--r--models/actions/schedule_list.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/actions/schedule_list.go b/models/actions/schedule_list.go
index e873c05ec3..ddd9a1321e 100644
--- a/models/actions/schedule_list.go
+++ b/models/actions/schedule_list.go
@@ -49,9 +49,9 @@ func (schedules ScheduleList) LoadTriggerUser(ctx context.Context) error {
return nil
}
-func (schedules ScheduleList) LoadRepos() error {
+func (schedules ScheduleList) LoadRepos(ctx context.Context) error {
repoIDs := schedules.GetRepoIDs()
- repos, err := repo_model.GetRepositoriesMapByIDs(repoIDs)
+ repos, err := repo_model.GetRepositoriesMapByIDs(ctx, repoIDs)
if err != nil {
return err
}