Fix API offset limit 400 Bad Request, implement requested UI/UX improvements
This commit is contained in:
@@ -141,8 +141,8 @@ public class MarketRepository : IMarketRepository
|
||||
|
||||
if (existingEventsMap.TryGetValue(ev.PlatformEventId, out var existing))
|
||||
{
|
||||
existing.Slug = ev.Slug;
|
||||
existing.Title = ev.Title;
|
||||
existing.Slug = ev.Slug!;
|
||||
existing.Title = ev.Title!;
|
||||
existing.Description = ev.Description;
|
||||
existing.ImageUrl = ev.ImageUrl;
|
||||
existing.Tags = ev.Tags;
|
||||
@@ -164,7 +164,7 @@ public class MarketRepository : IMarketRepository
|
||||
else
|
||||
{
|
||||
market.EventId = existing.Id;
|
||||
market.Event = null; // Prevent EF tracking issue
|
||||
market.Event = null!; // Prevent EF tracking issue
|
||||
existing.Markets.Add(market);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user