Kaynağa Gözat

return repo config in POST /repos response

Benoît Hubert 8 yıl önce
ebeveyn
işleme
c09725043f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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));
 
 });