mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Request model refractoring -> use mongoose api
This commit is contained in:
parent
aaf61f3810
commit
00057e85a7
7 changed files with 115 additions and 155 deletions
|
@ -7,6 +7,8 @@ const logger = require('../helpers/logger')
|
|||
|
||||
// Bootstrap models
|
||||
require('../models/video')
|
||||
// Request model needs Video model
|
||||
require('../models/request')
|
||||
|
||||
const dbname = 'peertube' + config.get('database.suffix')
|
||||
const host = config.get('database.host')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue