fix(accounts): unable to share some accounts; wrong url getting used

This commit is contained in:
Herculino Trotta
2025-04-21 14:33:11 -03:00
parent 48dd658627
commit 5d64665ddd
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ def account_group_take_ownership(request, pk):
@only_htmx
@login_required
@require_http_methods(["GET", "POST"])
def account_share(request, pk):
def account_group_share(request, pk):
obj = get_object_or_404(AccountGroup, id=pk)
if obj.owner and obj.owner != request.user: