remove contact us
This commit is contained in:
@@ -263,15 +263,3 @@ func (n *NKodeAPI) ResetNKode(userEmail UserEmail, customerId CustomerId) error
|
||||
n.EmailQueue.AddEmail(email)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (n *NKodeAPI) ContactUs(userEmail UserEmail, customerId CustomerId, form ContactFormPost) error {
|
||||
user, err := n.Db.GetUser(userEmail, customerId)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if user == nil {
|
||||
return ErrUserForCustomerDNE
|
||||
}
|
||||
return n.Db.WriteNewContactUsForm(user.Id, form)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user