mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 05:30:13 +01:00
Rename EventEndpoints VolunteerId to UserId
This commit is contained in:
@@ -97,7 +97,7 @@ namespace WebApp.Endpoints
|
||||
if(!user.IsOrganisation)
|
||||
{
|
||||
var events = await context.EventRegistrations
|
||||
.Where(er => er.VolunteerId == user.UserId)
|
||||
.Where(er => er.UserId == user.UserId)
|
||||
.Select(er => er.Event.ToEventSummaryNoErDto())
|
||||
.ToListAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user