OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[PATCH /user/status] In /user/status response 401 Unauthorized - need 400 Bad request #313

Closed OlhenShu closed 1 month ago

OlhenShu commented 1 month ago

Environment: Firefox 116.0.3 (64-bit). Reproducible: always.

Preconditions Sign-in us Admin Moved to Swagger http://localhost:8065/swagger-ui.html#/

Steps to reproduce

  1. Click on User controller
  2. Click on PATCH /user/status
  3. Click on 'Try out'
  4. Enter invalid data

Actual result Response 401 Unauthorized

Expected result Response 400 Bad request