Skip to content

Commit

Permalink
fix: swagger return array fix (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel authored Sep 12, 2024
1 parent 680da9a commit 85202a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller/user-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ export default class UserController extends BaseController {
* @security JWT
* @param {string} fromDate.query.required - Start date for selected sales (inclusive)
* @param {string} tillDate.query.required - End date for selected sales (exclusive)
* @return {Array.<ReportResponse>} 200 - The sales report of the user
* @return {ReportResponse} 200 - The sales report of the user
* @return {string} 400 - Validation error
* @return {string} 404 - User not found error.
*/
Expand Down Expand Up @@ -1248,7 +1248,7 @@ export default class UserController extends BaseController {
* @security JWT
* @param {string} fromDate.query.required - Start date for selected purchases (inclusive)
* @param {string} tillDate.query.required - End date for selected purchases (exclusive)
* @return {Array.<ReportResponse>} 200 - The purchases report of the user
* @return {ReportResponse} 200 - The purchases report of the user
* @return {string} 400 - Validation error
* @return {string} 404 - User not found error.
*/
Expand Down

0 comments on commit 85202a6

Please sign in to comment.