Fix updateFromAdmin() broken comparison

This commit is contained in:
Alex Gleason 2020-08-24 10:38:29 -05:00
parent 48d0572403
commit 0dfe22de36
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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;