const webfingerValidator = [
query('resource').custom(isWebfingerResourceValid).withMessage('Should have a valid webfinger resource'),
const webfingerValidator = [
query('resource').custom(isWebfingerResourceValid).withMessage('Should have a valid webfinger resource'),
if (areValidationErrors(req, res)) return
// Remove 'acct:' from the beginning of the string
if (areValidationErrors(req, res)) return
// Remove 'acct:' from the beginning of the string