Skip to content

Commit

Permalink
🐝 fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Mar 18, 2024
1 parent e559c80 commit 94180e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion adminSiteServer/adminRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import {
import { getChartConfigBySlug } from "../db/model/Chart.js"
import { getVariableMetadata } from "../db/model/Variable.js"
import { DbPlainDatasetFile, DbPlainDataset } from "@ourworldindata/types"
import { getRouteWithROTransaction } from "./functionalRouterHelpers.js"
import { getPlainRouteWithROTransaction } from "./plainRouterHelpers.js"

// Used for rate-limiting important endpoints (login, register) to prevent brute force attacks
Expand Down
1 change: 0 additions & 1 deletion adminSiteServer/plainRouterHelpers.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { NextFunction, Request, Response, Router } from "express"
import * as db from "../db/db.js"
import { next } from "@ourworldindata/utils"
export function getPlainRouteWithROTransaction<T>(
router: Router,
targetPath: string,
Expand Down

0 comments on commit 94180e6

Please sign in to comment.