From 5b422a8089af15ad4f41d93787fac7f00eb1928e Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Fri, 21 Jan 2022 15:37:43 -0500 Subject: [PATCH] Format --- lib/philomena/scrapers/twitter.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/philomena/scrapers/twitter.ex b/lib/philomena/scrapers/twitter.ex index 77a51b84..a3585d15 100644 --- a/lib/philomena/scrapers/twitter.ex +++ b/lib/philomena/scrapers/twitter.ex @@ -68,7 +68,9 @@ defmodule Philomena.Scrapers.Twitter do [bearer] = Regex.run(@bearer_regex, body, capture: :all_but_first) - {:ok, %{body: body}} = Philomena.Http.post(@activate_url, nil, [{"Authorization", "Bearer #{bearer}"}]) + {:ok, %{body: body}} = + Philomena.Http.post(@activate_url, nil, [{"Authorization", "Bearer #{bearer}"}]) + gt = Map.fetch!(Jason.decode!(body), "guest_token") {gt, bearer}