Update src/Umbraco.Infrastructure/Services/Implement/MediaService.cs

Co-authored-by: Andy Butland <abutland73@gmail.com>
This commit is contained in:
Shannon Deminick
2021-07-14 01:19:14 +10:00
committed by GitHub
parent 1fc4bf6dcd
commit 47a8a3f5ff

View File

@@ -685,7 +685,7 @@ namespace Umbraco.Cms.Core.Services.Implement
_mediaRepository.Save(media);
scope.Notifications.Publish(new MediaSavedNotification(media, eventMessages).WithStateFrom(savingNotification));
// TODO: See note about supressing events in content service
// TODO: See note about suppressing events in content service
scope.Notifications.Publish(new MediaTreeChangeNotification(media, TreeChangeTypes.RefreshNode, eventMessages));
Audit(AuditType.Save, userId, media.Id);