diff --git a/infrastructure/ncp/src/main/java/org/depromeet/spot/ncp/objectstorage/ImageUploader.java b/infrastructure/ncp/src/main/java/org/depromeet/spot/ncp/objectstorage/ImageUploader.java index 257fffd7..3109a19e 100644 --- a/infrastructure/ncp/src/main/java/org/depromeet/spot/ncp/objectstorage/ImageUploader.java +++ b/infrastructure/ncp/src/main/java/org/depromeet/spot/ncp/objectstorage/ImageUploader.java @@ -64,8 +64,7 @@ private void uploadToS3( } private void checkValidExtension(final String fileExtension, MediaProperty property) { - if (property == MediaProperty.STADIUM_SEAT - || property == MediaProperty.STADIUM_SEAT_LABEL) { + if (property == MediaProperty.STADIUM_SEAT_LABEL) { checkValidSeatExtension(fileExtension); } else { checkValidImageExtension(fileExtension);