mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix fetching secrets via service token
This commit is contained in:
@@ -53,7 +53,7 @@ export const getServiceTokenData = async (req: Request, res: Response) => {
|
||||
req.authData.authPayload._id
|
||||
)
|
||||
.select("+encryptedKey +iv +tag")
|
||||
.populate("user");
|
||||
.populate("user").lean();
|
||||
|
||||
return res.status(200).json(serviceTokenData);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user