Methods
(async, inner) processContactRequest(ip, data)
Process contact request submitted by a user
on the /contact route: Send the contact request
email to admin, log the request via the admin module
and create an anonymised issue on Github if the
reason of request is either a bugreport or a
feature request.
Parameters:
Name | Type | Description |
---|---|---|
ip |
String | |
data |
Object | form data |
- Source:
(async, inner) sendContactRequest(contactRequest)
Send a contact request email to the admin email address
specified in .env. This sets the sender of the email
to be the server email address, but the user's email
is specified in the body of the email.
Parameters:
Name | Type | Description |
---|---|---|
contactRequest |
Object |
- Source: