Skip to content

Commit

Permalink
self review
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Nov 27, 2024
1 parent 35fff17 commit b46c0f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const getPublicIntegration = asyncWrapper<GetPublicIntegration>(async (re

const queryInclude = new Set(query.include || []);
if (queryInclude.size > 0 && authType !== 'secretKey') {
// This is not allowed right now anyway but it's too prevent any mistakes
// This endpoint is not reachable any other way right now BUT it's to prevent any future mistakes
res.status(403).send({ error: { code: 'invalid_permissions', message: "Can't include credentials without a private key" } });
return;
}
Expand Down

0 comments on commit b46c0f6

Please sign in to comment.