Closed jacqui closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/news-catalyst/tiny-news-curriculum/3TQFQ1jrLH1XkbPvpF63fW7Xm6qt
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/spotlight-schools/Bpwvd9GGJRCdaCfpYLzUmYqp9WQp
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/harvey-world-herald/3coFgTjUjK2ivrkurJ8izVzKAXPd
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/black-by-god/6mSoRtf2fNaW6GZqpN4Mznsmgzuh
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/austin-vida/FkqYd6Dqo3JLsW5VYXpKYwMuYmmW
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/next-tinynewsdemo/8vSGe2YiYZsx8XHLwmpy5bbwrA9V
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/five-wards-media/44DzyijydaSBxtTJKWyJfgcqRnEk
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/ang-diaryo/6RsjQHfhHcoKbg3NM37sNSfy8hL9
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/tiny-news-sites/A5EJ5i8ygqDyJpZznqfZcu8U2vEA
✅ Preview: Ignored
🔍 Inspect: https://vercel.com/news-catalyst/staging-tiny-news-sites/27rr2SLas69LeLCUw7Je9KG8EfGC
✅ Preview: https://staging-tiny-news-sites-git-bugfix-first-l-b9ef39-news-catalyst.vercel.app
Goes with https://github.com/news-catalyst/hasura/pull/112
I noticed the create article mutations were taking a variable for the first published date, which I suspect is why it was being set to a different value than the last published date on newly published records. This PR also cleans up some unnecessary variables and ensures article IDs are integers.