Fixed error in code

This commit is contained in:
Martyn Inglis
2017-05-16 13:55:32 +01:00
parent 1dc3970595
commit d2a7a7b3c9

View File

@@ -81,7 +81,7 @@ def persist_notification(
if redis_store.get_all_from_hash(cache_key_for_service_template_counter(service.id)):
redis_store.increment_hash_value(cache_key_for_service_template_counter(service.id), template_id)
current_app.logger.info(
"{} {} created at {}".format(notification_type, notification_id, notification_created_at)
"{} {} created at {}".format(notification_type, notification_id, created_at)
)
return notification