Continue API reference development

This commit is contained in:
Tuan Dang
2023-01-14 09:48:13 +07:00
parent 9d4ea2dcda
commit b63360813a
4 changed files with 84 additions and 9 deletions
@@ -29,7 +29,7 @@ export const getMe = async (req: Request, res: Response) => {
try {
user = await User
.findById(req.user._id)
.select('+publicKey +encryptedPrivateKey');
.select('+publicKey +encryptedPrivateKey +iv +tag');
} catch (err) {
Sentry.setUser({ email: req.user.email });
Sentry.captureException(err);