integrations: Properly pass data-categories as a JSON array.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-11-21 13:08:53 -08:00
committed by Tim Abbott
parent 77cac403ee
commit 801e267e00
3 changed files with 10 additions and 7 deletions

View File

@@ -139,6 +139,9 @@ class Integration:
return None
def get_translated_categories(self) -> list[str]:
return [str(category) for category in self.categories]
class BotIntegration(Integration):
DEFAULT_LOGO_STATIC_PATH_PNG = "generated/bots/{name}/logo.png"