This PR updates the existing public functions in candidate.controller.ts to have the signature public async (req: Request, res: Response, _next: NextFunction): Promise<any>. This change ensures consistency and improves the readability of the code.
Summary of Changes
Modified candidate.controller.ts to update the function signature of existing public functions.
Updated the function signature to public async (req: Request, res: Response, _next: NextFunction): Promise<any>.
Please review the changes and merge this PR if it meets the requirements.
Fixes #13.
🎉 Latest improvements to Sweep:
Sweep can now passively improve your repository! Check out Rules to learn more.
💡 To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback (click)
Description
This PR updates the existing public functions in
candidate.controller.ts
to have the signaturepublic async (req: Request, res: Response, _next: NextFunction): Promise<any>
. This change ensures consistency and improves the readability of the code.Summary of Changes
candidate.controller.ts
to update the function signature of existing public functions.public async (req: Request, res: Response, _next: NextFunction): Promise<any>
.Please review the changes and merge this PR if it meets the requirements.
Fixes #13.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: