codeforanchorage / courtbot

Your friendly neighborhood court robot. Provides an api for getting court case information.
https://courtbot.codeforanchorage.org
ISC License
7 stars 10 forks source link

Fix URL for where to double check your court reminder #21

Closed brendanbabb closed 8 years ago

brendanbabb commented 8 years ago

image

Not sure if the URL data isn't populated yet or if it is a query error.

brendanbabb commented 8 years ago

Fixed process.env and returns undefined now. C:\Users\ecbjb\Documents\GitHub\courtbot [master ≡]> heroku run node runners/sendReminders.js --app courtbot-anc2 Running node runners/sendReminders.js on courtbot-anc2... up, run.4985 (Free) Knex:warning - knex.initialize is deprecated, pass your config object directly to the knex module Phone: +19072232718 Phone: +19072232718 Reminder sent to 24f0c68de376879fefe5f228825f7601 Knex:warning - .exec is deprecated, please use .asCallback Reminder sent to 24f0c68de376879fefe5f228825f7601 Knex:warning - .exec is deprecated, please use .asCallback 1 1 undefined

brendanbabb commented 8 years ago

@NigelKibodeaux fixed this, and I added the Env variable in Heroku config variables http://www.courtrecords.alaska.gov/eservices/search.page.4.1 for COURT_PUBLIC_URL.