mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Update server dependencies
This commit is contained in:
parent
f6e0de3f48
commit
d5d9b6d7bf
17 changed files with 1197 additions and 1396 deletions
|
@ -3,7 +3,8 @@ import { VideoChangeOwnershipModel } from '../../models/video/video-change-owner
|
|||
import { MVideoChangeOwnershipFull } from '@server/typings/models/video/video-change-ownership'
|
||||
import { MUserId } from '@server/typings/models'
|
||||
|
||||
export async function doesChangeVideoOwnershipExist (id: number, res: Response) {
|
||||
export async function doesChangeVideoOwnershipExist (idArg: number | string, res: Response) {
|
||||
const id = parseInt(idArg + '', 10)
|
||||
const videoChangeOwnership = await VideoChangeOwnershipModel.load(id)
|
||||
|
||||
if (!videoChangeOwnership) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue