Update @peertube/peertube-types to 4.2.2:
* using a stable version (4.2.2) * minimum Peertube version is now 4.2.0 * removing some type customizations Related to issue #122. Note: there are still some quirks. See: https://github.com/Chocobozzz/PeerTube/issues/5446
This commit is contained in:
@ -87,6 +87,7 @@ async function initApiRouter (options: RegisterServerOptions): Promise<Router> {
|
||||
}
|
||||
res.json(roomDefaults)
|
||||
} else {
|
||||
// FIXME: @peertube/peertype-types@4.2.2: wrongly considere video as MVideoThumbnail.
|
||||
const video = await peertubeHelpers.videos.loadByIdOrUUID(jid)
|
||||
if (!video) {
|
||||
logger.warn(`Video ${jid} not found`)
|
||||
|
Reference in New Issue
Block a user