Commit 754b5e0
authored
Added Deprecation Warning Header for /users/self (#2221)
* adding new route for query param profile
* removing some mixed changes of other commit
* modified test cases and and controller logic
* Implemented GET route /users?profile=true to fetch user's details
* refactored: moved authentication logic from controller to middleware
* test cases fo authCondition file
* updated test cases and routes and middleware of users
* bug fix for using only in test cases
* code refactor and updated function naming
* added deprecation headers, comment and warning for /users/self
* refactored code and removed one header1 parent 9f2d7c4 commit 754b5e0
2 files changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
394 | 403 | | |
395 | 404 | | |
396 | 405 | | |
397 | 406 | | |
398 | 407 | | |
399 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
400 | 414 | | |
401 | 415 | | |
402 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
978 | 978 | | |
979 | 979 | | |
980 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
981 | 986 | | |
982 | 987 | | |
983 | 988 | | |
| |||
0 commit comments