Przeglądaj źródła

return repo config in POST /repos response

Benoît Hubert 8 lat temu
rodzic
commit
c09725043f
1 zmienionych plików z 1 dodań i 1 usunięć
  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));
 
 });