Save on bandwidth if the user wants to hide icon data

This commit is contained in:
2026-01-24 09:40:01 -07:00
parent 4411923b77
commit 27d5049261
2 changed files with 11 additions and 2 deletions

View File

@@ -465,6 +465,13 @@ app.get(
t.String(
t.String({ description: 'The IDs for the icons you want to get' })
)
),
data: t.Optional(
t.String({
description:
'If set to false, this will not include icon data, otherwise it will. Setting it to true would have the same result as not having it at all.',
examples: ['true', 'false']
})
)
})
}