fix: obsolete excel package
Some checks failed
.NET Test Pipeline / build (push) Failing after 6s
Build and Deploy Docker Container / build-and-deploy (push) Successful in 2m15s

This commit is contained in:
2025-05-16 02:13:26 +03:00
parent 104a1cff41
commit 38bba2aab2

View File

@ -52,7 +52,7 @@ public class ImportController(IMediator mediator, IOptionsSnapshot<GeneralConfig
LessonTypeIds = request.LessonType
})).Schedules.ToList();
ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
ExcelPackage.License.SetNonCommercialOrganization("Winsomnia");
using var package = new ExcelPackage();
var worksheet = package.Workbook.Worksheets.Add("Расписание");