1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Type models

This commit is contained in:
Chocobozzz 2017-05-22 20:58:25 +02:00
parent 65fcc3119c
commit e02643f32e
76 changed files with 1710 additions and 816 deletions

View file

@ -1,7 +1,7 @@
import express = require('express')
import { waterfall } from 'async'
const db = require('../../initializers/database')
import { database as db } from '../../initializers/database'
import { CONFIG } from '../../initializers'
import {
logger,
@ -35,12 +35,12 @@ podsRouter.post('/makefriends',
ensureIsAdmin,
makeFriendsValidator,
setBodyHostsPort,
makeFriends
makeFriendsController
)
podsRouter.get('/quitfriends',
authenticate,
ensureIsAdmin,
quitFriends
quitFriendsController
)
// ---------------------------------------------------------------------------