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

Method getAllConductors

backend/src/Bus/bus.controller.ts:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 @UseGuards(JwtAuthGuard, AdminGuard)
47 @Get('conductor')
48 async getAllConductors() {
49 try {
50 return this.busService.getConductors();
51 } catch (error) {
52 if (error instanceof HttpException) {
53 throw new HttpException(error.message, error.getStatus());
54 }
55 }
56 }
57 @UseGuards(JwtAuthGuard, AdminGuard)
58 @Get('conductor/:id')
59 async getConductorById(@Param('id') conductorId: string) {

Callers

nothing calls this directly

Calls 1

getConductorsMethod · 0.80

Tested by

no test coverage detected