fix: add IValidateableObject interface to required DTO's ensuring model validation

This commit is contained in:
2026-01-31 11:23:23 -05:00
parent 79ca6ffa80
commit 270360a32f
3 changed files with 5 additions and 4 deletions
@@ -60,6 +60,7 @@ namespace SharpbinV3.Server.Controllers
[EnableRateLimiting("Strict")]
public async Task<IActionResult> UpdateByUUID(Guid uuid, [FromBody] UpdateUserDto updatedUser)
{
Console.WriteLine($"{ModelState.IsValid}");
if (!ModelState.IsValid)
return BadRequest(ModelState);