catches add-url regression

This commit is contained in:
@wwwjim 2020-09-21 17:52:52 -07:00
parent 3ba9962d81
commit 110cf356be

View File

@ -378,7 +378,7 @@ export default class DataView extends React.Component {
Accept: "application/json",
"Content-Type": "application/json",
},
body: JSON.stringify({ slate, data: { title: data.name, ...data } }),
body: JSON.stringify({ slate, data: [{ title: data.name, ...data }] }),
});
if (!addResponse) {