1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Implement contact form in the client

This commit is contained in:
Chocobozzz 2019-01-10 11:12:41 +01:00
parent 3866f1a02f
commit d3e56c0c4b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
18 changed files with 281 additions and 24 deletions

View file

@ -50,7 +50,7 @@ const contactAdministratorValidator = [
.end()
}
if (Emailer.Instance.isEnabled() === false) {
if (Emailer.isEnabled() === false) {
return res
.status(409)
.send({ error: 'Emailer is not enabled on this instance.' })