Remove hardcoded isOrg

This commit is contained in:
Tim Jacomb
2020-09-11 16:59:15 +01:00
parent f0b86ece3a
commit c95fd141ae
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) {