#415 bug fix
This commit is contained in:
parent
f944b11097
commit
eb8baa7f34
@ -1025,7 +1025,7 @@ namespace RMuseum.Services.Implementationa
|
||||
bool replace = false;
|
||||
if (session.SessionType == UploadSessionType.ReplaceAudio)
|
||||
{
|
||||
Recitation existing = await context.Recitations.Where(r => r.OwnerId == session.UseId && r.GanjoorPostId == audio.PoemId && r.AudioArtist == defProfile.ArtistName).FirstOrDefaultAsync();
|
||||
Recitation existing = await context.Recitations.Where(r => r.OwnerId == session.UseId && r.GanjoorPostId == audio.PoemId && r.AudioArtist == defProfile.ArtistName && r.RecitationType == recitationType).FirstOrDefaultAsync();
|
||||
if (existing != null)
|
||||
{
|
||||
replace = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user