@reactful/create 0.0.67 → 0.0.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -61,7 +61,8 @@ const downloadRepo = async (subfolder, destination) =>
61
61
  downloadGitHub('jsenaribeiro', 'reactful', subfolder, destination)
62
62
 
63
63
  async function downloadGitHub(user, repository, subfolder, destination) {
64
- const url = `https://api.github.com/repos/${user}/${repository}/contents/${subfolder}`
64
+ const prefix = `https://api.github.com/repos/${user}/${repository}`
65
+ const url = `${prefix}/contents/installation/${subfolder}`
65
66
  const content = await fetch(url).then(x => x.json())
66
67
 
67
68
  console.log('- url', url)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reactful/create",
3
- "version": "0.0.67",
3
+ "version": "0.0.68",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "description": "reactful scafold tool",