MCPcopy Create free account
hub / github.com/bsoc-bitbyte/busify / getConductorById

Method getConductorById

backend/src/Bus/bus.controller.ts:59–67  ·  view source on GitHub ↗
(@Param('id') conductorId: string)

Source from the content-addressed store, hash-verified

57 @UseGuards(JwtAuthGuard, AdminGuard)
58 @Get('conductor/:id')
59 async getConductorById(@Param('id') conductorId: string) {
60 try {
61 return this.busService.getConductorById(conductorId);
62 } catch (error) {
63 if (error instanceof HttpException) {
64 throw new HttpException(error.message, error.getStatus());
65 }
66 }
67 }
68 @UseGuards(JwtAuthGuard, AdminGuard)
69 @Get('contractor')
70 async getAllContractors() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected