@@ -135,7 +135,7 @@ app.get('/', async (c) => {
135135 mockBackend . getChainId ( ) ,
136136 mockBackend . getAppImplementation ( ) ,
137137 ] ) ;
138-
138+
139139 return c . json ( {
140140 status : 'ok' ,
141141 kmsContractAddr : process . env . KMS_CONTRACT_ADDR || '0xmockcontract1234567890123456789012345678' ,
@@ -148,15 +148,15 @@ app.get('/', async (c) => {
148148 } ) ;
149149 } catch ( error ) {
150150 console . error ( 'error in health check:' , error ) ;
151- return c . json ( {
152- status : 'error' ,
153- message : error instanceof Error ? error . message : String ( error )
151+ return c . json ( {
152+ status : 'error' ,
153+ message : error instanceof Error ? error . message : String ( error )
154154 } , 500 ) ;
155155 }
156156} ) ;
157157
158158// app boot authentication
159- app . post ( '/bootAuth/app' ,
159+ app . post ( '/bootAuth/app' ,
160160 zValidator ( 'json' , BootInfoSchema ) ,
161161 async ( c ) => {
162162 try {
@@ -166,7 +166,7 @@ app.post('/bootAuth/app',
166166 instanceId : bootInfo . instanceId ,
167167 note : 'always returning success'
168168 } ) ;
169-
169+
170170 const result = await mockBackend . checkBoot ( bootInfo , false ) ;
171171 return c . json ( result ) ;
172172 } catch ( error ) {
@@ -191,7 +191,7 @@ app.post('/bootAuth/kms',
191191 instanceId : bootInfo . instanceId ,
192192 note : 'always returning success'
193193 } ) ;
194-
194+
195195 const result = await mockBackend . checkBoot ( bootInfo , true ) ;
196196 return c . json ( result ) ;
197197 } catch ( error ) {
@@ -216,4 +216,4 @@ console.log(`starting mock auth server on port ${port} (policy: ${policy})`);
216216export default {
217217 port,
218218 fetch : app . fetch ,
219- } ;
219+ } ;
0 commit comments