mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 08:35:52 +00:00
Add back service token data select fields for GET endpoint
This commit is contained in:
@@ -56,6 +56,7 @@ export const getServiceTokenData = async (req: Request, res: Response) => {
|
||||
|
||||
const serviceTokenData = await ServiceTokenData
|
||||
.findById(req.authData.authPayload._id)
|
||||
.select('+encryptedKey +iv +tag')
|
||||
.populate('user');
|
||||
|
||||
return res.status(200).json(serviceTokenData);
|
||||
|
||||
Reference in New Issue
Block a user