Skip to content

Commit

Permalink
Fix wrong import of getRedirects (#4442)
Browse files Browse the repository at this point in the history
  • Loading branch information
rakyi authored Jan 13, 2025
1 parent e56bf5b commit 2be56cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adminSiteServer/apiRoutes/redirects.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import { DbPlainChartSlugRedirect, JsonError } from "@ourworldindata/types"
import { getRedirects } from "../../baker/redirects.js"
import {
redirectWithSourceExists,
getChainedRedirect,
getRedirectById,
getRedirects,
} from "../../db/model/Redirect.js"
import { expectInt } from "../../serverUtils/serverUtil.js"
import { triggerStaticBuild } from "./routeUtils.js"
import * as db from "../../db/db.js"
import { Request } from "../authentication.js"
import e from "express"

export async function handleGetSiteRedirects(
req: Request,
res: e.Response<any, Record<string, any>>,
Expand Down

0 comments on commit 2be56cb

Please sign in to comment.