aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backend/src/api/controllers/dev.ts2
-rw-r--r--backend/src/api/routes/dev.ts1
2 files changed, 1 insertions, 2 deletions
diff --git a/backend/src/api/controllers/dev.ts b/backend/src/api/controllers/dev.ts
index 6c4e854d5..122f24018 100644
--- a/backend/src/api/controllers/dev.ts
+++ b/backend/src/api/controllers/dev.ts
@@ -269,7 +269,7 @@ function randomValue<T>(values: T[]): T {
}
function createArray<T>(size: number, builder: () => T): T[] {
- return new Array(size).fill(0).map((it) => builder());
+ return new Array(size).fill(0).map(() => builder());
}
async function updateTestActicity(uid: string): Promise<void> {
diff --git a/backend/src/api/routes/dev.ts b/backend/src/api/routes/dev.ts
index b251f58e2..2ea6516cf 100644
--- a/backend/src/api/routes/dev.ts
+++ b/backend/src/api/routes/dev.ts
@@ -1,5 +1,4 @@
import { Router } from "express";
-import { authenticateRequest } from "../../middlewares/auth";
import {
asyncHandler,
validateConfiguration,