We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7107068 commit 5b7ab63Copy full SHA for 5b7ab63
1 file changed
Presentation/Controllers/AdminController.cs
@@ -228,6 +228,7 @@ public async Task<IActionResult> UpdateUser(string userId, [FromBody] UpdateUser
228
var newSub = new Subscription
229
{
230
UserId = user.Id,
231
+ User = user,
232
StartDate = dto.SubscriptionStartDate ?? DateTime.UtcNow,
233
EndDate = dto.SubscriptionEndDate ?? DateTime.UtcNow.AddMonths(1),
234
UpdatedAt = DateTime.UtcNow
0 commit comments