diff --git a/.vscode/launch.json b/.vscode/launch.json index cb2fcbe..bed8f13 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,6 +9,12 @@ "type": "dotnet", "request": "launch", "projectPath": "${workspaceFolder}/src/server/host/MinigolfFriday.Host.csproj" + }, + { + "name": "C#: Host Attach", + "type": "coreclr", + "request": "attach", + "processName": "MinigolfFriday.Host.exe" } ] } diff --git a/src/server/host/Endpoints/Events/UpdatePlayerEventRegistrationsEndpoint.cs b/src/server/host/Endpoints/Events/UpdatePlayerEventRegistrationsEndpoint.cs index 8855a6e..9d427e5 100644 --- a/src/server/host/Endpoints/Events/UpdatePlayerEventRegistrationsEndpoint.cs +++ b/src/server/host/Endpoints/Events/UpdatePlayerEventRegistrationsEndpoint.cs @@ -145,7 +145,7 @@ await this.SendErrorAsync( } else { - existing.FallbackEventTimeslot = fallbackTimeslot; + existing.FallbackEventTimeslotId = fallbackTimeslot?.Id; } } await databaseContext.SaveChangesAsync(ct);