Skip to content

Commit 51ab0cb

Browse files
feat: Add CreatedByUserId to CreateMapRotationDto for user tracking
1 parent fa774ab commit 51ab0cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/XtremeIdiots.Portal.Web/Controllers/MapRotationsController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,6 +1388,7 @@ public async Task<IActionResult> ImportConfirm(ImportMapRotationsConfirmViewMode
13881388
var createDto = new CreateMapRotationDto(draft.GameType, title, rotation.GameMode)
13891389
{
13901390
Description = description,
1391+
CreatedByUserId = Guid.TryParse(User.UserProfileId(), out var importUpId) ? importUpId : null,
13911392
MapIds = mapIds
13921393
};
13931394

0 commit comments

Comments
 (0)