소스 검색

return repo config in POST /repos response

Benoît Hubert 8 년 전
부모
커밋
c09725043f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sandboxApp.js

+ 1 - 1
sandboxApp.js

@@ -147,7 +147,7 @@ app.post('/repos', function(req, res) {
   }, repoTmpl);
 
   exStore.addRepository(repoSlug, config)
-  .then(repo => res.json(repo));
+  .then(repo => res.json(config));
 
 });