lsst-epo / rubin-obs-api

The backend to the Rubin Obs. operational site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add call to Craft API to ensure revalidation occurs after updating DB

ericdrosas87 opened this issue · comments

User story

As the devops engineer of the EDC, I need for the Nextbuilds Craft plugin to send the revalidation request after the DB has been updated such that page revalidation on the client occurs as expected.

Definition of done

I have wrapped the revalidation request in Craft::$app->onAfterRequest(function() { // revalidation }); to ensure the revalidate request is sent after the Craft entry has been updated in the database.