Change mp3 mime type to audio/mpeg

test
dan 2020-04-27 22:23:54 -06:00
parent b3a73dd47b
commit 93f6503bac
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ export class AddSermonPopupComponent implements OnInit {
if (this.sermonFile == null){
this.errorMessages.push("Please add a sermon MP3 file");
}
if (this.sermonFile != null && this.sermonFile.type != 'audio/mp3'){
if (this.sermonFile != null && this.sermonFile.type != 'audio/mpeg'){
this.errorMessages.push("File must be a MP3");
}
if (this.errorMessages.length > 0){ this.updateAddButton(true); return; }