mirror of
https://github.com/tloncorp/landscape.git
synced 2025-01-05 23:56:54 +03:00
api: update send request payload
This commit is contained in:
parent
fa441f14a2
commit
6c2076e8b5
@ -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