Disable branding locks for now

This commit is contained in:
Ajay
2023-03-31 15:08:28 -04:00
parent a52feee25e
commit 589b7d4e3e

View File

@@ -38,7 +38,8 @@ export async function postBranding(req: Request, res: Response) {
try {
const hashedUserID = await getHashCache(userID);
const isVip = await isUserVIP(hashedUserID);
// const isVip = await isUserVIP(hashedUserID);
const isVip = false; // TODO: In future, reenable locks
const hashedVideoID = await getHashCache(videoID, 1);
const hashedIP = await getHashCache(getIP(req) + config.globalSalt as IPAddress);