Change mp3 mime type to audio/mpeg
parent
b3a73dd47b
commit
93f6503bac
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue