aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/instances-index/mock-instances-index.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-03 09:33:05 +0100
committerChocobozzz <me@florianbigard.com>2021-02-03 09:45:08 +0100
commitba5a8d89bbf049e4afc41543bcc072cccdb02669 (patch)
tree6cc6b2dca17745cc0824c7ad4515f3bc4883fa4a /shared/extra-utils/instances-index/mock-instances-index.ts
parent29f148a61381727a432c22a71c7a2b7cc23d9c9e (diff)
downloadPeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.gz
PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.zst
PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.zip
Update server dependencies
Diffstat (limited to 'shared/extra-utils/instances-index/mock-instances-index.ts')
-rw-r--r--shared/extra-utils/instances-index/mock-instances-index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/instances-index/mock-instances-index.ts b/shared/extra-utils/instances-index/mock-instances-index.ts
index ea09c9f61..2604eda03 100644
--- a/shared/extra-utils/instances-index/mock-instances-index.ts
+++ b/shared/extra-utils/instances-index/mock-instances-index.ts
@@ -4,7 +4,7 @@ export class MockInstancesIndex {
4 private readonly indexInstances: { host: string, createdAt: string }[] = [] 4 private readonly indexInstances: { host: string, createdAt: string }[] = []
5 5
6 initialize () { 6 initialize () {
7 return new Promise(res => { 7 return new Promise<void>(res => {
8 const app = express() 8 const app = express()
9 9
10 app.use('/', (req: express.Request, res: express.Response, next: express.NextFunction) => { 10 app.use('/', (req: express.Request, res: express.Response, next: express.NextFunction) => {