mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 05:09:56 +02:00
Merge branch 'master' into develop
This commit is contained in:
commit
491c79efa0
10 changed files with 73 additions and 17 deletions
|
@ -25,7 +25,8 @@ from . import utils
|
|||
def update_follow(follow, approved):
|
||||
follow.approved = approved
|
||||
follow.save(update_fields=["approved"])
|
||||
routes.outbox.dispatch({"type": "Accept"}, context={"follow": follow})
|
||||
if approved:
|
||||
routes.outbox.dispatch({"type": "Accept"}, context={"follow": follow})
|
||||
|
||||
|
||||
class LibraryFollowViewSet(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue