// 1st-party
import type { ServiceMethodFactory } from "@ethicdevs/react-monolith";
import type { PipelineServiceDeps } from "./types";
const makeResetRunnerCache: ServiceMethodFactory<
PipelineServiceDeps,
[string, string],
Promise<any>
> = ({ runner }) => {
return async (orgSlug: string, repoSlug: string) => {
return runner.resetCache(orgSlug, repoSlug);
};
};
export default makeResetRunnerCache;