1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01:00
This commit is contained in:
Rob Ede 2022-02-02 02:19:39 +00:00
parent c01f0ea5f3
commit 5131f30691
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -35,10 +35,7 @@ pub fn send_invitation(invitation: &Invitation) -> Result<(), ServiceError> {
your Invitation expires on <strong>{}</strong>", your Invitation expires on <strong>{}</strong>",
invitation.id, invitation.id,
invitation.email, invitation.email,
invitation invitation.expires_at.format("%I:%M %p %A, %-d %B, %C%y")
.expires_at
.format("%I:%M %p %A, %-d %B, %C%y")
); );
// complete the email message with details // complete the email message with details