mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 10:52:41 +03:00
fix(check-username): return boolean instead of user object
This commit is contained in:
parent
1a8aba4596
commit
acb5b5b507
@ -16,5 +16,5 @@ export default async (req, res) => {
|
||||
return res.status(500).send({ decorator: "SERVER_USER_NOT_FOUND", error: true });
|
||||
}
|
||||
|
||||
return res.status(200).send({ decorator: "SERVER_CHECK_USERNAME", data: user });
|
||||
return res.status(200).send({ decorator: "SERVER_CHECK_USERNAME", data: true });
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user