File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/github-api/src/rest Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const handlers =
7777 org
7878 ) ;
7979 if ( ! install ) return response . status ( 404 ) . send ( "Not Found" ) ;
80- response . status ( 200 ) . json ( install ) ;
80+ return response . status ( 200 ) . json ( install ) ;
8181 // note that we can't use the return here because the schema has
8282 // a nullable field that openapi-backend chokes on
8383 // see https://github.com/typicode/openapi-backend/issues/747
@@ -92,7 +92,7 @@ const handlers =
9292 repo
9393 ) ;
9494 if ( ! install ) return response . status ( 404 ) . send ( "Not Found" ) ;
95- response . status ( 200 ) . json ( install ) ;
95+ return response . status ( 200 ) . json ( install ) ;
9696 // note that we can't use the return here because the schema has
9797 // a nullable field that openapi-backend chokes on
9898 // see https://github.com/typicode/openapi-backend/issues/747
You can’t perform that action at this time.
0 commit comments