mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-01 10:55:45 +03:00
Merge pull request #6 from tloncorp/t/update-send
api: update send request payload
This commit is contained in:
commit
4e28060fb2
@ -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']])]]
|
||||
==
|
||||
==
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user