boy scout rule

This commit is contained in:
Andrea Vos 2024-11-09 19:48:06 +01:00
parent 76ce55f1ed
commit e388e0ce4e

View File

@ -68,7 +68,7 @@ const makePublicPronoun = (pronoun: Pronoun, examples: string[] | undefined): Pu
const router = Router(); const router = Router();
router.get('/pronouns', handleErrorAsync(async (req, res) => { router.get('/pronouns', handleErrorAsync(async (req, res) => {
const publicPronouns: Record<string, Pronoun> = {}; const publicPronouns: Record<string, PublicPronoun> = {};
for (const [name, pronoun] of Object.entries(pronouns)) { for (const [name, pronoun] of Object.entries(pronouns)) {
if (pronoun.hidden) { if (pronoun.hidden) {
continue; continue;