From 4c1ac37a084a7ff6e0ddccc1f499625f029326d0 Mon Sep 17 00:00:00 2001 From: nns Date: Sun, 7 Jun 2026 23:03:17 +0500 Subject: [PATCH] =?UTF-8?q?fix(s22):=20OrgExportJob.WriteCollection=20?= =?UTF-8?q?=E2=80=94=20where=20T=20:=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- src/food-market.api/Background/OrgExportJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/food-market.api/Background/OrgExportJob.cs b/src/food-market.api/Background/OrgExportJob.cs index 9dc90e7..ebaca29 100644 --- a/src/food-market.api/Background/OrgExportJob.cs +++ b/src/food-market.api/Background/OrgExportJob.cs @@ -186,7 +186,7 @@ await using (var s = rEntry.Open()) } private static async Task WriteCollection(ZipArchive zip, string name, - IQueryable q, JsonSerializerOptions opts, CancellationToken ct) + IQueryable q, JsonSerializerOptions opts, CancellationToken ct) where T : class { var items = await q.AsNoTracking().ToListAsync(ct); await WriteJsonEntry(zip, name, items, opts, ct);