diff --git a/api/funkwhale_api/federation/tasks.py b/api/funkwhale_api/federation/tasks.py index 9ad4da160..aac52ce9c 100644 --- a/api/funkwhale_api/federation/tasks.py +++ b/api/funkwhale_api/federation/tasks.py @@ -350,7 +350,7 @@ def fetch(fetch_obj): return error( "http", status_code=e.response.status_code if e.response else None, - message=response.text, + message=e.response.text, ) except requests.exceptions.Timeout: return error("timeout") diff --git a/changes/changelog.d/1976.bugfix b/changes/changelog.d/1976.bugfix new file mode 100644 index 000000000..f82a110ce --- /dev/null +++ b/changes/changelog.d/1976.bugfix @@ -0,0 +1 @@ +Fix remote search (#1857) diff --git a/front/src/components/RemoteSearchForm.vue b/front/src/components/RemoteSearchForm.vue index 797c7803a..302ccb96a 100644 --- a/front/src/components/RemoteSearchForm.vue +++ b/front/src/components/RemoteSearchForm.vue @@ -1,11 +1,14 @@