Fixes updating lists

This commit is contained in:
Mouse Reeve 2021-02-10 18:00:56 -08:00
parent e918ddf526
commit 2a069adc8a

View file

@ -216,7 +216,7 @@ def handle_create_list(activity):
def handle_update_list(activity): def handle_update_list(activity):
''' update a list ''' ''' update a list '''
try: try:
book_list = models.List.objects.get(id=activity['object']['id']) book_list = models.List.objects.get(remote_id=activity['object']['id'])
except models.List.DoesNotExist: except models.List.DoesNotExist:
return return
activitypub.BookList( activitypub.BookList(