also looking at this
Long-form composer mode for the blog target
#10
7 files
+33
-8
| @@ -20,9 +20,10 @@ export default new Action({ | ||
| 20 | 20 | .filter(value => available.has(value)) as SocialProvider[] |
| 21 | 21 | |
| 22 | 22 | const scheduledAt = String(request.get('scheduled_at') || '').trim() || null |
| 23 | const title = String(request.get('title') || '').trim() || null | |
| 23 | 24 | |
| 24 | 25 | try { |
| 25 | const data = await postQueue.save({ text, providers, scheduledAt }) | |
| 26 | const data = await postQueue.save({ text, providers, title, scheduledAt }) | |
| 26 | 27 | return response.json({ ok: true, data }) |
| 27 | 28 | } |
| 28 | 29 | catch (error) { |