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

Method createConductor

backend/src/Bus/bus.service.ts:79–86  ·  view source on GitHub ↗
(conductor: any)

Source from the content-addressed store, hash-verified

77 });
78 }
79 async createConductor(conductor: any) {
80 return this.prismaService.conductor.create({
81 data: {
82 ...conductor,
83 id: uuidv4(),
84 },
85 });
86 }
87
88 async removeConductor(conductorId: string) {
89 return this.prismaService.conductor.delete({

Callers 1

createNewConductorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected