Last active
July 23, 2017 09:03
-
-
Save harrietty/34504b7d748a517a59fddf42230002cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .then(() => { | |
| if (newJobs.length) { | |
| var nexmo = new Nexmo({ | |
| apiKey: NEXMO_API_KEY, | |
| apiSecret: NEXMO_API_SECRET | |
| }); | |
| nexmo.message.sendSms('Donkey Jobs Finder', MY_PHONE_NUMBER, 'Hello, we found a new donkey job!'); | |
| } | |
| callback(null, { jobs: newJobs }); | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment