Skip to content

Commit 27d4f75

Browse files
author
Gareth Terrace
committed
Merge pull request #2 from volmasoft/master
Updated readme for responses
2 parents da5b708 + 97b258a commit 27d4f75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ clockwork.sendSms({ To: '447123456789', Content: 'Test!'}, function(error, resp)
1919
if (error) {
2020
console.log('Something went wrong', error);
2121
} else {
22-
console.log('Message sent',resp.responses[0].id);
22+
console.log('Message sent to',resp.SMS_Resp[0].To);
23+
console.log('MessageID was',resp.SMS_Resp[0].MessageID);
2324
}
2425
});
2526

0 commit comments

Comments
 (0)