mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
re-use models when hot reloading
This commit is contained in:
committed by
Thomas Ruoff
parent
654b4d706c
commit
451d0e2d78
@@ -1,7 +1,6 @@
|
||||
import * as mongoose from 'mongoose'
|
||||
import Booker from './booker'
|
||||
import Booking from './booking'
|
||||
import { BOOKING_STATUS } from './bookingStatus'
|
||||
|
||||
let connectedPromise: Promise<typeof mongoose>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user