Merge pull request #1547 from spotify/shmidt-i/scaffolder-flow-frontend

fix(scaffloder): pass values correctly
This commit is contained in:
Nikita Dudnik
2020-07-07 09:42:37 +02:00
committed by GitHub
+1 -1
View File
@@ -53,7 +53,7 @@ export class ScaffolderApi {
'Content-Type': 'application/json',
},
// TODO(shmidt-i): when repo picker is implemented, take isOrg from it
body: JSON.stringify({ template, ...values, isOrg: true }),
body: JSON.stringify({ template, values: { ...values, isOrg: true } }),
});
if (response.status !== 201) {