Merge pull request #6 from tloncorp/t/update-send

api: update send request payload
This commit is contained in:
tomholford 2023-04-21 14:11:38 -07:00 committed by GitHub
commit 4e28060fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,14 +20,14 @@
%- en-json:html
%- pairs:enjs:format
:~ ['key' s+(crip api-key)]
:- 'to'
%- pairs:enjs:format
:~ ['email' s+(crip to-email)]
==
:- 'message'
%- pairs:enjs:format
:~ ['subject' s+(crip subject)]
['html' s+(crip body)]
['from_email' s+'no-reply@tlon.io']
['from_name' s+'Tlon Local']
:- 'to'
[%a ~[(pairs:enjs:format ~[['email' s+(crip to-email)] ['type' s+'to']])]]
==
==
==