Changed method to insert userId in endpoint with claim of the token
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user