mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-13 06:57:05 +03:00
Warning should not hash the reported userID
This commit is contained in:
committed by
GitHub
parent
e3e9c89a80
commit
7beb521d68
@@ -7,7 +7,7 @@ import {getHash} from '../utils/getHash';
|
||||
export function postWarning(req: Request, res: Response) {
|
||||
// Collect user input data
|
||||
let issuerUserID = getHash(req.body.issuerUserID);
|
||||
let userID = getHash(req.body.userID);
|
||||
let userID = req.body.userID;
|
||||
let issueTime = new Date().getTime();
|
||||
|
||||
// Ensure user is a VIP
|
||||
|
||||
Reference in New Issue
Block a user