mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-22 21:45:56 +03:00
feat(View): return created view in the response
This commit is contained in:
parent
15ece0ae64
commit
bc667a3566
@ -63,5 +63,5 @@ export default async (req, res) => {
|
||||
|
||||
await ViewerManager.hydratePartial(id, { viewer: true });
|
||||
|
||||
return res.status(200).send({ decorator: "SERVER_CREATE_VIEW_SUCCESS" });
|
||||
return res.status(200).send({ decorator: "SERVER_CREATE_VIEW_SUCCESS", data: response });
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user