File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import usersRouter from "#routes/users";
1010import authRouter from "#routes/auth" ;
1111import accreditationRouter from "#routes/accreditation" ;
1212import infrastructureRouter from "#routes/infrastructure" ;
13- import practicalRouter from "#models /practical" ;
13+ import practicalRouter from "#routes /practical" ;
1414import { identifyUser } from "#middleware/identifyUser" ;
1515
1616
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import practicalController from "#controller/practical";
44const router = express . Router ( ) ;
55
66// Create a new Practical
7- router . post ( "/practical/create" , practicalController . createPractical ) ;
7+ router . post ( "/practical/create" , practicalController . addPractical ) ;
88
99// List Practical entities with optional filters
10- router . get ( "/practical/list" , practicalController . listPractical ) ;
10+ router . get ( "/practical/list" , practicalController . getPractical ) ;
1111
1212// Update Practical entities based on filters and update data
1313router . post ( "/practical/update" , practicalController . updatePractical ) ;
You can’t perform that action at this time.
0 commit comments