]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/webfinger.ts
Fix lint
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / webfinger.ts
index 068e03ad73deee21e4145e81ed996040cc44ca67..3e61a6cc35e07ce6f7464210786a465f89134162 100644 (file)
@@ -14,7 +14,7 @@ const webfingerValidator = [
     checkErrors(req, res, () => {
       // Remove 'acct:' from the beginning of the string
       const nameWithHost = req.query.resource.substr(5)
-      const [ name, ] = nameWithHost.split('@')
+      const [ name ] = nameWithHost.split('@')
 
       db.Account.loadLocalByName(name)
         .then(account => {