mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-29 03:51:54 +03:00
catches add-url regression
This commit is contained in:
parent
3ba9962d81
commit
110cf356be
@ -378,7 +378,7 @@ export default class DataView extends React.Component {
|
|||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
"Content-Type": "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) {
|
if (!addResponse) {
|
||||||
|
Loading…
Reference in New Issue
Block a user