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

Method removeConductor

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

Source from the content-addressed store, hash-verified

123 @UseGuards(JwtAuthGuard, AdminGuard)
124 @Delete('conductor/:id')
125 async removeConductor(@Param('id') conductorId: string) {
126 try {
127 return this.busService.removeConductor(conductorId);
128 } catch (error) {
129 if (error instanceof HttpException) {
130 throw new HttpException(error.message, error.getStatus());
131 }
132 }
133 }
134 @UseGuards(JwtAuthGuard, AdminGuard)
135 @Post('schedule')
136 async createNewSchedule(@Body() schedule: ScheduleDto) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected