ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix lint
Chocobozzz5d9b867ed30c
diff --git a/server/models/video/video-live.ts b/server/models/video/video-live.tsindex 68e3811059..d2788ef4f7 100644--- a/server/models/video/video-live.ts+++ b/server/models/video/video-live.ts@@ -2,7 +2,7 @@ import { AllowNull, BelongsTo, Column, CreatedAt, DataType, DefaultScope, Foreigimport { CONFIG } from '@server/initializers/config'import { WEBSERVER } from '@server/initializers/constants'import { MVideoLive, MVideoLiveVideo } from '@server/types/models'-import { LiveVideo, LiveVideoLatencyMode, VideoPrivacy, VideoState } from '@shared/models'+import { LiveVideo, LiveVideoLatencyMode, VideoState } from '@shared/models'import { AttributesOnly } from '@shared/typescript-utils'import { VideoModel } from './video'import { VideoBlacklistModel } from './video-blacklist'diff --git a/server/tests/api/check-params/live.ts b/server/tests/api/check-params/live.tsindex d4a81c4f6c..8d520da0d1 100644--- a/server/tests/api/check-params/live.ts+++ b/server/tests/api/check-params/live.ts@@ -341,7 +341,6 @@ describe('Test video lives API validator', function () {describe('When getting live information', function () {-it('Should fail with a bad access token', async function () {await command.get({ token: 'toto', videoId: video.id, expectedStatus: HttpStatusCode.UNAUTHORIZED_401 })})diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.tsindex 6e7b77bcef..b8c4c1e293 100644--- a/server/tests/api/live/live.ts+++ b/server/tests/api/live/live.ts@@ -131,8 +131,8 @@ describe('Test live', function () {expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live')expect(live.streamKey).to.not.be.empty} else {- expect(live.rtmpUrl).to.be.null- expect(live.streamKey).to.be.null+ expect(live.rtmpUrl).to.not.exist+ expect(live.streamKey).to.not.exist}expect(live.saveReplay).to.be.true@@ -193,8 +193,8 @@ describe('Test live', function () {expect(live.rtmpUrl).to.equal('rtmp://' + server.hostname + ':' + servers[0].rtmpPort + '/live')expect(live.streamKey).to.not.be.empty} else {- expect(live.rtmpUrl).to.be.null- expect(live.streamKey).to.be.null+ expect(live.rtmpUrl).to.not.exist+ expect(live.streamKey).to.not.exist}expect(live.saveReplay).to.be.false