zeshinsei / sync-companion

Reddit bot for moderators that assists with sidebar/widget synchronization
MIT License
8 stars 1 forks source link

Do not perform API call to update widget if no changes #1

Closed zeshinsei closed 4 years ago

zeshinsei commented 4 years ago

Currently any widget update, regardless if there are textual changes, will result in an API call and modlog update. This clutters the modlog.

Code should perform a check beforehand and avoid an update API call if no changes are detected.