Merge pull request #2433 from timja/support-user-or-org

scaffolder: Allow user or org, remove hard coded isOrg
This commit is contained in:
Ben Lambert
2020-09-15 09:17:25 +02:00
committed by GitHub
6 changed files with 35 additions and 16 deletions
+1 -2
View File
@@ -46,8 +46,7 @@ export class ScaffolderApi {
headers: {
'Content-Type': 'application/json',
},
// TODO(shmidt-i): when repo picker is implemented, take isOrg from it
body: JSON.stringify({ template, values: { ...values, isOrg: true } }),
body: JSON.stringify({ template, values: { ...values } }),
});
if (response.status !== 201) {