diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-23 01:26:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-23 01:26:46 +0900 |
| commit | 4e387cf7d09729af1d8751b14cab7295f89a0a36 (patch) | |
| tree | 68decc353c5f107316385fe702213d062645a8d6 /src/api/endpoints | |
| parent | Refactoring (diff) | |
| download | sharkey-4e387cf7d09729af1d8751b14cab7295f89a0a36.tar.gz sharkey-4e387cf7d09729af1d8751b14cab7295f89a0a36.tar.bz2 sharkey-4e387cf7d09729af1d8751b14cab7295f89a0a36.zip | |
Fix bug
Diffstat (limited to 'src/api/endpoints')
| -rw-r--r-- | src/api/endpoints/meta.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/api/endpoints/meta.ts b/src/api/endpoints/meta.ts index 0cbeaae820..11c4dcbe5f 100644 --- a/src/api/endpoints/meta.ts +++ b/src/api/endpoints/meta.ts @@ -2,7 +2,7 @@ * Module dependencies */ import prominence from 'prominence'; -import getVersion from '../../version'; +import version from '../../version'; import config from '../../conf'; /** @@ -39,8 +39,6 @@ import config from '../../conf'; * @return {Promise<any>} */ module.exports = (params) => new Promise(async (res, rej) => { - const version = await getVersion.then(); - res({ maintainer: config.maintainer, version: version, |