Fix formatting of preferences.cr and videos.cr

pull/2538/head
bbielsa 3 years ago committed by Emilien Devos
parent f31bd5ffb9
commit b90bceb2dc

@ -169,7 +169,7 @@ module Invidious::Routes::PreferencesRoute
extend_desc: extend_desc, extend_desc: extend_desc,
vr_mode: vr_mode, vr_mode: vr_mode,
show_nick: show_nick, show_nick: show_nick,
save_player_pos: save_player_pos, save_player_pos: save_player_pos,
}.to_json).to_json }.to_json).to_json
if user = env.get? "user" if user = env.get? "user"

@ -1195,7 +1195,7 @@ def process_video_params(query, preferences)
video_start: video_start, video_start: video_start,
volume: volume, volume: volume,
vr_mode: vr_mode, vr_mode: vr_mode,
save_player_pos: save_player_pos, save_player_pos: save_player_pos,
}) })
return params return params

Loading…
Cancel
Save