From 109d893ff5353c3061af3062cf9443bcba39aafc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 16 Jul 2019 17:38:20 +0200 Subject: Fix lint --- server/models/server/plugin.ts | 2 +- server/tests/api/videos/video-blacklist.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/models/server/plugin.ts b/server/models/server/plugin.ts index ba43713f6..50963ba57 100644 --- a/server/models/server/plugin.ts +++ b/server/models/server/plugin.ts @@ -154,7 +154,7 @@ export class PluginModel extends Model { } return PluginModel.findOne(query) - .then((c: any) => { + .then((c: any) => { if (!c) return undefined return c.value diff --git a/server/tests/api/videos/video-blacklist.ts b/server/tests/api/videos/video-blacklist.ts index 8760a4787..854b2f0cb 100644 --- a/server/tests/api/videos/video-blacklist.ts +++ b/server/tests/api/videos/video-blacklist.ts @@ -421,6 +421,8 @@ describe('Test video blacklist', function () { }) it('Should auto blacklist a video on URL import', async function () { + this.timeout(15000) + const attributes = { targetUrl: getYoutubeVideoUrl(), name: 'URL import', -- cgit v1.2.3