cleaner code

This commit is contained in:
waveringana 2022-12-04 09:14:16 +00:00
parent 44da6f3720
commit b6779a7d7c
2 changed files with 12 additions and 13 deletions

View file

@ -1,4 +1,3 @@
import type {MediaRow, UserRow} from '../types';
import type {RequestHandler as Middleware, Router, Request, Response} from 'express';
import ffmpeg from "fluent-ffmpeg";
@ -34,7 +33,7 @@ export const checkAuth: Middleware = (req: Request, res: Response, next: Functio
}
let shortKey = key.substr(0, 3) + "...";
console.log("Authenicated user with key: " + shortKey);
console.log(`Authenicated user with key: ${shortKey}`);
next();
}