Nick: fixed prettier
This commit is contained in:
@@ -7,9 +7,12 @@ import { configDotenv } from "dotenv";
|
||||
import { RequestWithAuth } from "./types";
|
||||
configDotenv();
|
||||
|
||||
export async function crawlCancelController(req: RequestWithAuth<{ jobId: string }>, res: Response) {
|
||||
export async function crawlCancelController(
|
||||
req: RequestWithAuth<{ jobId: string }>,
|
||||
res: Response
|
||||
) {
|
||||
try {
|
||||
const useDbAuthentication = process.env.USE_DB_AUTHENTICATION === 'true';
|
||||
const useDbAuthentication = process.env.USE_DB_AUTHENTICATION === "true";
|
||||
|
||||
const sc = await getCrawl(req.params.jobId);
|
||||
if (!sc) {
|
||||
|
||||
Reference in New Issue
Block a user