mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:09:16 +02:00
Fix #787: federation issue due to missing error handling
This commit is contained in:
parent
9bf1c0cde0
commit
f5a6a40d7f
2 changed files with 6 additions and 1 deletions
|
@ -388,7 +388,7 @@ def recursive_getattr(obj, key, permissive=False):
|
|||
|
||||
def match_route(route, payload):
|
||||
for key, value in route.items():
|
||||
payload_value = recursive_getattr(payload, key)
|
||||
payload_value = recursive_getattr(payload, key, permissive=True)
|
||||
if payload_value != value:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue