You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhances the admin controller by implementing improved validation for organization IDs and providing more descriptive error messages.
The changes introduce model validation for the `SetBonusAsync` action, ensuring that the organization ID is valid before proceeding. This prevents unexpected errors and provides better feedback to the user.
Additionally, it adds API documentation to the SetBonusAsync method.
The change also fixes an issue in the `AuthController` where the change password method was not returning a validation error when the current password was incorrect.
0 commit comments