Skip to content

Commit c65acb2

Browse files
authored
fix: backoffice link in plain (#6609)
1 parent 81914c7 commit c65acb2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

server/polar/integrations/plain/service.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,11 +581,13 @@ async def create_appeal_review_thread(
581581
],
582582
)
583583
),
584-
# Admin Dashboard Link
584+
# Backoffice Link
585585
ComponentContainerContentInput(
586586
component_link_button=ComponentLinkButtonInput(
587-
link_button_url=f"{settings.FRONTEND_BASE_URL}/backoffice/organizations/{organization.id}",
588-
link_button_label="View in Admin Dashboard",
587+
link_button_url=settings.generate_external_url(
588+
f"/backoffice/organizations/{organization.id}"
589+
),
590+
link_button_label="View in Backoffice",
589591
)
590592
),
591593
]

0 commit comments

Comments
 (0)