diff --git a/.gitea/workflows/deploy-prod.yaml b/.gitea/workflows/deploy-prod.yaml index 0bb9c60..b2a359a 100644 --- a/.gitea/workflows/deploy-prod.yaml +++ b/.gitea/workflows/deploy-prod.yaml @@ -3,7 +3,7 @@ name: Deploiement API Prod Docker on: push: branches: - - dev + - main jobs: deploy: diff --git a/Webzine.Repository/DbTitreRepository.cs b/Webzine.Repository/DbTitreRepository.cs index a581fe9..ae14698 100644 --- a/Webzine.Repository/DbTitreRepository.cs +++ b/Webzine.Repository/DbTitreRepository.cs @@ -421,7 +421,8 @@ public class DbTitreRepository : ITitreRepository .AsNoTracking() .OrderByDescending(t => t.DateCreation) .Paginate(offset, limit) - .Include(t => t.Artiste); + .Include(t => t.Artiste) + .Include(a => a.Styles); } catch (Exception ex) {