| 1 | import type { Route } from "./+types/repo-run-events"; |
| 2 | import { found, fullName, refs } from "../lib/session"; |
| 3 | |
| 4 | export async function loader({ params, context }: Route.LoaderArgs) { |
| 5 | const repo = await found(refs(context).repo(fullName(params))); |
| 6 | return found(repo.ci().events(params.id)); |
| 7 | } |