Unverified Commit 5ddebd5d authored by Pawan k's avatar Pawan k Committed by GitHub
Browse files

Update app.controller.ts

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -34,9 +34,9 @@ export class AppController { ...@@ -34,9 +34,9 @@ export class AppController {
return this.appService.getStudentById(params.id); return this.appService.getStudentById(params.id);
} }
@Get('student/:rollnumber') @Get('student/:rollnumber/:dob')
getStudentByRollnumber(@Param() params) { getStudentByRollnumberAndDOB(@Param() params) {
return this.appService.getStudentByRollnumber(params.rollnumber); return this.appService.getStudentByRollnumber(params.rollnumber, params.dob);
} }
@Get('tutor/:id') @Get('tutor/:id')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment