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

Method getBusSchedule

backend/src/Bus/bus.service.ts:8–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6export class BusService {
7 constructor(private readonly prismaService: PrismaService) {}
8 async getBusSchedule() {
9 return {
10 today: new Date(),
11 schedule: await this.prismaService.schedule.findMany({}),
12 };
13 }
14
15 async createBus(bus: any) {
16 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected