updated to reflect slight changes in notification_service.py

specifically, ‘topic’ ---> ‘target’ and no type-checking on variables