mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Type models
This commit is contained in:
parent
65fcc3119c
commit
e02643f32e
76 changed files with 1710 additions and 816 deletions
|
@ -1,4 +1,4 @@
|
|||
const logger = require('../helpers/logger')
|
||||
import { logger } from '../helpers'
|
||||
|
||||
function ensureIsAdmin (req, res, next) {
|
||||
const user = res.locals.oauth.token.user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue