cleaner code
This commit is contained in:
parent
44da6f3720
commit
b6779a7d7c
2 changed files with 12 additions and 13 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue