fix inviter name in workspace member invitation email

This commit is contained in:
dandds 2019-01-07 11:45:03 -05:00
parent 29e615de35
commit a361cbd109

View File

@ -32,4 +32,4 @@ class Invitation:
body = render_template(
self.email_template, owner=self.inviter.full_name, token=token
)
queue.send_mail([self.email], self.subject.format(self.inviter), body)
queue.send_mail([self.email], self.subject.format(self.inviter.full_name), body)