feat(api): 🐛 Add hint attributes to rules to satisfy glitch-soc

This commit is contained in:
Jesse Wierzbinski 2024-04-15 08:18:20 -10:00
parent 71d2c7ae3b
commit a1c261f47d
No known key found for this signature in database
3 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ describe(meta.route, () => {
config.signups.rules.map((rule, index) => ({
id: String(index),
text: rule,
hint: "",
})),
);
});

View file

@ -20,6 +20,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
config.signups.rules.map((rule, index) => ({
id: String(index),
text: rule,
hint: "",
})),
);
});

View file

@ -110,6 +110,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
rules: config.signups.rules.map((rule, index) => ({
id: String(index),
text: rule,
hint: "",
})),
});
});