diff --git a/src/routes/postBranding.ts b/src/routes/postBranding.ts index c4c7059..73a4c5d 100644 --- a/src/routes/postBranding.ts +++ b/src/routes/postBranding.ts @@ -53,6 +53,7 @@ export async function postBranding(req: Request, res: Response) { const voteType = 1; if (title && !isVip && title.title.length > config.maxTitleLength) { + lock.unlock(); res.status(400).send("Your title is too long. Please keep titles concise."); return; }