fix(scaffolder): get correct resultDir, template

This commit is contained in:
Ivan Shmidt
2020-07-07 09:08:30 +02:00
parent 8f1e0f67d1
commit 0933734e08
3 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ export class ScaffolderApi {
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({ template, values }),
// TODO(shmidt-i): when repo picker is implemented, take isOrg from it
body: JSON.stringify({ template, ...values, isOrg: true }),
});
if (response.status !== 201) {