meirim-org / meirim

Meirim is an open-source smart city application that facilitates transparency in urban planning.
MIT License
56 stars 24 forks source link

Update user from iplan only on status change #748

Open GalGend opened 1 year ago

GalGend commented 1 year ago

Currently, we use the iplan API that returns plans, with any change. We don't want to notify users on that, but only in cases the change is of status.

1) Check if we receive the plans, whose status was change. 2) Detech which change was, we want to save the data, but not alert user. 3) If the change is of status/es we want to save them in the DB. 4) If the change is of status/es we want to notify users that are subscribed to the plan.