Update main.py

Added check to prevent exceptions being thrown when request body of an ObjectChangeNotification is empty (such as in sync events).