Changed method to insert userId in endpoint with claim of the token

This commit is contained in:
2026-02-21 20:12:40 +01:00
parent 9740d92cbf
commit 115f4de993
18 changed files with 89 additions and 75 deletions
@@ -3,5 +3,4 @@
public class UnlockAchievementDto
{
public int AchievementId { get; set; }
public int UserId { get; set; }
}
@@ -2,6 +2,5 @@
public class PatchUserDesignationDto
{
public int Id { get; set; }
public int DesignationId { get; set; }
}
@@ -1,7 +1,6 @@
namespace BeReadyBackend.DTO.Users;
public class PatchUserPasswordDto
{
public int Id { get; set; }
{
public string? Password { get; set; }
}
@@ -2,7 +2,6 @@
public class UpdateUserDto
{
public int Id { get; set; }
public string? FirstName { get; set; }
public string? Name { get; set; }
public string? Username { get; set; }