fix plex sign in (#99)
This commit is contained in:
@@ -196,6 +196,10 @@ namespace ErsatzTV.Infrastructure.Data.Repositories
|
||||
{
|
||||
add.MediaSourceId = plexMediaSourceId;
|
||||
dbContext.Entry(add).State = EntityState.Added;
|
||||
foreach (LibraryPath path in add.Paths)
|
||||
{
|
||||
dbContext.Entry(path).State = EntityState.Added;
|
||||
}
|
||||
}
|
||||
|
||||
foreach (PlexLibrary delete in toDelete)
|
||||
|
||||
@@ -256,7 +256,7 @@ namespace ErsatzTV.Infrastructure.Data.Repositories
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return BaseError.New(ex.Message);
|
||||
return BaseError.New(ex.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user