From 6066615553310ea879c1a00ca2a39c142030887c Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 9 Nov 2018 08:48:02 -0600 Subject: [PATCH] Update formatting --- src/invidious.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/invidious.cr b/src/invidious.cr index 7c2b224b..b17b47dc 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -916,7 +916,7 @@ get "/signout" do |env| rescue ex error_message = ex.message next templated "error" - end + end user = env.get("user").as(User) sid = env.get("sid").as(String) @@ -924,9 +924,9 @@ get "/signout" do |env| env.request.cookies.each do |cookie| cookie.expires = Time.new(1990, 1, 1) - end + end - env.request.cookies.add_response_headers(env.response.headers) + env.request.cookies.add_response_headers(env.response.headers) end env.redirect referer