add tests

This commit is contained in:
Michael C
2021-09-18 23:24:23 -04:00
parent 0fc39cf5f2
commit c0074c9f8c
3 changed files with 123 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ interface lockArray {
reason: string
}
export async function getLockCategories(req: Request, res: Response): Promise<Response> {
export async function getLockReason(req: Request, res: Response): Promise<Response> {
const videoID = req.query.videoID as VideoID;
let categories: Category[] = [];
try {