From 3a174b988c4f7d8caa8c70f32c1b6c97aefba5bd Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sun, 17 Sep 2017 17:35:13 -0700 Subject: [PATCH] Change status --- handlers/twitter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/twitter.js b/handlers/twitter.js index ff9167f..807be1e 100644 --- a/handlers/twitter.js +++ b/handlers/twitter.js @@ -8,7 +8,7 @@ const client = new Twitter({ }) const uploadImage = (data) => client.post('media/upload', { media_data: data }) -const uploadTweet = (media) => client.post('statuses/update', { status: 'carbon copy', media_ids: media.media_id_string }) +const uploadTweet = (media) => client.post('statuses/update', { status: 'Carbon Copy', media_ids: media.media_id_string }) const extractImageUrl = (response) => response.entities.media[0].display_url const respondSuccess = (res, url) => res.json({ url })