move db into api

This commit is contained in:
Thomas Ruoff
2020-08-01 16:05:32 +02:00
parent 6b246894cf
commit 528f46a533
4 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { createBooking } from '../../db/index'
import { createBooking } from './db/index'
import { Error } from 'mongoose'
export default async function userHandler(req, res) {