mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-27 19:15:26 +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",
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
body: JSON.stringify({ slate, data: { title: data.name, ...data } }),
|
||||
body: JSON.stringify({ slate, data: [{ title: data.name, ...data }] }),
|
||||
});
|
||||
|
||||
if (!addResponse) {
|
||||
|
Loading…
Reference in New Issue
Block a user