Fixed user reference problem in event creation

This commit is contained in:
2026-01-19 20:39:18 +01:00
parent e937cecc81
commit dd1cfc15e5
6 changed files with 15 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ public partial class EnqueuePage(AuthorizationHandler authHandler, NavigationMan
}
_event = await context.Events
.Include(e => e.Host)
.Include(@event => @event.Host)
.FirstOrDefaultAsync(e => e.Id == guid);
if (_event is null) {