mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-17 21:18:47 +03:00
Disable branding locks for now
This commit is contained in:
@@ -38,7 +38,8 @@ export async function postBranding(req: Request, res: Response) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const hashedUserID = await getHashCache(userID);
|
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 hashedVideoID = await getHashCache(videoID, 1);
|
||||||
const hashedIP = await getHashCache(getIP(req) + config.globalSalt as IPAddress);
|
const hashedIP = await getHashCache(getIP(req) + config.globalSalt as IPAddress);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user