~homeworkprod/byceps

28308f1a16538cdaf68e84b7dda85388efdbb300 — Jochen Kupperschmidt 5 months ago 0576a27
Use alternative service functions that do not return `None`
1 files changed, 2 insertions(+), 2 deletions(-)

M byceps/announce/text_assembly/board.py
M byceps/announce/text_assembly/board.py => byceps/announce/text_assembly/board.py +2 -2
@@ 267,9 267,9 @@ def assemble_text_for_board_posting_unhidden(


def _get_board_label(topic_id: TopicID) -> str:
    topic = board_topic_query_service.find_topic_by_id(topic_id)
    topic = board_topic_query_service.get_topic(topic_id)
    brand_id = topic.category.board.brand_id
    brand = brand_service.find_brand(brand_id)
    brand = brand_service.get_brand(brand_id)
    return f'"{brand.title}"-Forum'