mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
feat(api): 🐛 Add hint attributes to rules to satisfy glitch-soc
This commit is contained in:
parent
71d2c7ae3b
commit
a1c261f47d
|
|
@ -17,6 +17,7 @@ describe(meta.route, () => {
|
|||
config.signups.rules.map((rule, index) => ({
|
||||
id: String(index),
|
||||
text: rule,
|
||||
hint: "",
|
||||
})),
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
|
|||
config.signups.rules.map((rule, index) => ({
|
||||
id: String(index),
|
||||
text: rule,
|
||||
hint: "",
|
||||
})),
|
||||
);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
|
|||
rules: config.signups.rules.map((rule, index) => ({
|
||||
id: String(index),
|
||||
text: rule,
|
||||
hint: "",
|
||||
})),
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue