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