Skip to content

Commit 5b471ce

Browse files
committed
chore: change log levels
1 parent 5d9b45a commit 5b471ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/presentation/http/policies/authRequired.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ export default async function authRequired(context: PolicyContext): Promise<void
1717
return await reply.unauthorized();
1818
}
1919

20-
logger.info(`User authenticated with ID: ${userId}`);
20+
logger.debug('User authenticated');
2121
}

src/presentation/http/policies/notePublicOrUserInTeam.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ export default async function notePublicOrUserInTeam(context: PolicyContext): Pr
5050
return await reply.forbidden();
5151
}
5252
}
53-
logger.info('Note access check completed successfully');
53+
logger.debug('Note access check completed successfully');
5454
}

src/presentation/http/policies/userCanEdit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ export default async function userCanEdit(context: PolicyContext): Promise<void>
4343
return await reply.forbidden();
4444
}
4545

46-
logger.info('User edit permission check completed successfully');
46+
logger.debug('User edit permission check completed successfully');
4747
}

0 commit comments

Comments
 (0)