File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 3
3
const express = require ( 'express' ) ;
4
4
5
5
import ParseServer from '../src/ParseServer' ;
6
- import { version } from '../package.json' ;
7
6
8
7
describe ( 'Server Url Checks' , ( ) => {
9
8
10
9
const app = express ( ) ;
11
10
app . get ( '/health' , function ( req , res ) {
12
11
res . json ( {
13
- status : 'ok' ,
14
- version : version
12
+ status : 'ok'
15
13
} ) ;
16
14
} ) ;
17
15
app . listen ( 13376 ) ;
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ import { SessionsRouter } from './Routers/SessionsRouter';
34
34
import { UsersRouter } from './Routers/UsersRouter' ;
35
35
import { PurgeRouter } from './Routers/PurgeRouter' ;
36
36
import { AudiencesRouter } from './Routers/AudiencesRouter' ;
37
- import { version } from '../package.json' ;
38
37
39
38
import { ParseServerRESTController } from './ParseServerRESTController' ;
40
39
import * as controllers from './Controllers' ;
@@ -140,7 +139,6 @@ class ParseServer {
140
139
141
140
api . use ( '/health' , ( function ( req , res ) {
142
141
res . json ( {
143
- version : version ,
144
142
status : 'ok'
145
143
} ) ;
146
144
} ) ) ;
You can’t perform that action at this time.
0 commit comments