mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update service-token-router.ts
This commit is contained in:
@@ -36,6 +36,7 @@ export const registerServiceTokenRouter = async (server: FastifyZodProvider) =>
|
||||
actor: req.permission.type
|
||||
});
|
||||
|
||||
// We return the user here because older versions of the deprecated Python SDK depend on it to properly parse the API response.
|
||||
return { ...serviceToken, workspace: serviceToken.projectId, user };
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user