Skip to content

Commit 5b7ab63

Browse files
committed
Fix Admin Controller
1 parent 7107068 commit 5b7ab63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Presentation/Controllers/AdminController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ public async Task<IActionResult> UpdateUser(string userId, [FromBody] UpdateUser
228228
var newSub = new Subscription
229229
{
230230
UserId = user.Id,
231+
User = user,
231232
StartDate = dto.SubscriptionStartDate ?? DateTime.UtcNow,
232233
EndDate = dto.SubscriptionEndDate ?? DateTime.UtcNow.AddMonths(1),
233234
UpdatedAt = DateTime.UtcNow

0 commit comments

Comments
 (0)