Fix updateFromAdmin() broken comparison

preload
Alex Gleason 2020-08-24 10:38:29 -05:00
rodzic 48d0572403
commit 0dfe22de36
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -11,7 +11,7 @@ const updateFromAdmin = (state, config) => {
try {
return ConfigDB.find(configs, ':pleroma', ':frontend_configurations')
.get('value')
.find(value => value.getIn(['tuple', 0] === ':soapbox_fe'))
.find(value => value.getIn(['tuple', 0]) === ':soapbox_fe')
.getIn(['tuple', 1]);
} catch {
return state;