remove debug logs, update comments, other nitpicks

This commit is contained in:
x
2025-04-23 18:44:14 -04:00
parent 3a6b2a593b
commit 84255d1b26
4 changed files with 7 additions and 8 deletions
@@ -21,7 +21,7 @@ export const registerTeamCityConnectionRouter = async (server: FastifyZodProvide
updateSchema: UpdateTeamCityConnectionSchema
});
// The below endpoints are not exposed and for Infisical App use
// The following endpoints are for internal Infisical App use only and not part of the public API
server.route({
method: "GET",
url: `/:connectionId/projects`,
@@ -51,12 +51,9 @@ export const registerTeamCityConnectionRouter = async (server: FastifyZodProvide
},
onRequest: verifyAuth([AuthMode.JWT]),
handler: async (req) => {
console.log("HIT1");
const { connectionId } = req.params;
const projects = await server.services.appConnection.teamcity.listProjects(connectionId, req.permission);
console.log(projects);
return projects;
}
});