Преглед изворни кода

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));
 
 });