mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
integrations: Properly pass data-categories as a JSON array.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
77cac403ee
commit
801e267e00
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user