mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-13 23:17:02 +03:00
Fix function name
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = function setUsername(req, res) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (userName.contains("discord")) {
|
||||
if (userName.includes("discord")) {
|
||||
// Don't allow
|
||||
res.sendStatus(200);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user