This commit is contained in:
Zettat123 2024-11-27 15:16:03 +08:00
parent e7c6adb1a0
commit af8033daaf

View File

@ -158,7 +158,7 @@ func (task *ActionTask) LoadRepository(ctx context.Context) (err error) {
return nil
}
task.Repo, err = repo_model.GetRepositoryByID(ctx, task.RepoID)
return
return err
}
func GetTaskByID(ctx context.Context, id int64) (*ActionTask, error) {