fix(scaffloder): pass values correctly

This commit is contained in:
Ivan Shmidt
2020-07-07 09:40:42 +02:00
parent c5bf20f244
commit 7e38251cef
+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) {