Paginate Netlify sites

This commit is contained in:
Tuan Dang
2023-03-02 14:36:52 +07:00
parent aca6269920
commit 721af0f26d
3 changed files with 29 additions and 11 deletions
@@ -41,7 +41,7 @@ export const getMe = async (req: Request, res: Response) => {
try {
user = await User
.findById(req.user._id)
.select('+publicKey +encryptedPrivateKey +iv +tag');
.select('+salt +publicKey +encryptedPrivateKey +iv +tag +encryptionVersion +protectedKey +protectedKeyIV +protectedKeyTag');
} catch (err) {
Sentry.setUser({ email: req.user.email });
Sentry.captureException(err);