Explorar o código

return repo config in POST /repos response

Benoît Hubert %!s(int64=8) %!d(string=hai) anos
pai
achega
c09725043f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
 
 });