diff --git a/src/services/fileServices/MdPageServices/MediaFileService.js b/src/services/fileServices/MdPageServices/MediaFileService.js index 3a32b913e..b8631a6f2 100644 --- a/src/services/fileServices/MdPageServices/MediaFileService.js +++ b/src/services/fileServices/MdPageServices/MediaFileService.js @@ -116,7 +116,6 @@ class MediaFileService { githubSessionData, { oldFileName, newFileName, directoryName, sha } ) { - this.mediaNameChecks({ directoryName, fileName: oldFileName }) this.mediaNameChecks({ directoryName, fileName: newFileName }) const oldExt = getFileExt(oldFileName) const newExt = getFileExt(newFileName)