Parcourir la source

return repo config in POST /repos response

Benoît Hubert il y a 8 ans
Parent
commit
c09725043f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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));
 
 });