From f8d4b27cac8a6646f420e506d3b52fea183280ef Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 2 Apr 2020 11:16:31 -0700 Subject: [PATCH] add invoice string at once --- api/controllers/invites.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/controllers/invites.ts b/api/controllers/invites.ts index 50e8cc4..3d21a8c 100644 --- a/api/controllers/invites.ts +++ b/api/controllers/invites.ts @@ -87,7 +87,8 @@ const createInvite = async (req, res) => { welcomeMessage: inviteCreated.message, contactId: contact.id, status: inviteCreated.invite_status, - inviteString: inviteCreated.pin + inviteString: inviteCreated.pin, + invoice: inviteCreated.invoice, }) let contactJson = jsonUtils.contactToJson(contact) if (invite) {