diff options
Diffstat (limited to 'shared/extra-utils/mock-servers/mock-plugin-blocklist.ts')
-rw-r--r-- | shared/extra-utils/mock-servers/mock-plugin-blocklist.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts b/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts index d18f8224f..6f66bf4f0 100644 --- a/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts +++ b/shared/extra-utils/mock-servers/mock-plugin-blocklist.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import * as express from 'express' | 1 | import express, { Request, Response } from 'express' |
2 | import { Server } from 'http' | 2 | import { Server } from 'http' |
3 | import { randomInt } from '@shared/core-utils' | 3 | import { randomInt } from '@shared/core-utils' |
4 | 4 | ||
@@ -18,7 +18,7 @@ export class MockBlocklist { | |||
18 | return new Promise<number>(res => { | 18 | return new Promise<number>(res => { |
19 | const app = express() | 19 | const app = express() |
20 | 20 | ||
21 | app.get('/blocklist', (req: express.Request, res: express.Response) => { | 21 | app.get('/blocklist', (req: Request, res: Response) => { |
22 | return res.json(this.body) | 22 | return res.json(this.body) |
23 | }) | 23 | }) |
24 | 24 | ||