Removing a hack:
* replacing loadByUrl by loadByIdOrUuid * breaks compatibility with peertube 3.0.1 * simpler webchat route * fix uuid escaping in iframe uri
This commit is contained in:
2
server/@types/peertube.d.ts
vendored
2
server/@types/peertube.d.ts
vendored
@ -57,7 +57,7 @@ interface PeerTubeHelpers {
|
||||
videos: {
|
||||
loadByUrl: (url: string) => Promise<MVideoThumbnail>
|
||||
// NB: loadByIdOrUUID was introduced in v3.1.0
|
||||
loadByIdOrUUID?: (id: number | string) => Promise<MVideoThumbnail>
|
||||
loadByIdOrUUID: (id: number | string) => Promise<MVideoThumbnail>
|
||||
removeVideo: (videoId: number) => Promise<void>
|
||||
}
|
||||
config: {
|
||||
|
Reference in New Issue
Block a user