diff options
Diffstat (limited to 'server/controllers/client.ts')
-rw-r--r-- | server/controllers/client.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index ce5608c9b..c3d28245c 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -1,10 +1,8 @@ | |||
1 | import { parallel } from 'async' | 1 | import { parallel } from 'async' |
2 | import express = require('express') | 2 | import * as express from 'express' |
3 | import fs = require('fs') | 3 | import * as fs from 'fs' |
4 | import { join } from 'path' | 4 | import { join } from 'path' |
5 | import expressValidator = require('express-validator') | 5 | import * as validator from 'validator' |
6 | // TODO: use .validator when express-validator typing will have validator field | ||
7 | const validator = expressValidator['validator'] | ||
8 | 6 | ||
9 | import { database as db } from '../initializers/database' | 7 | import { database as db } from '../initializers/database' |
10 | import { | 8 | import { |