From 51e8617dc307ef07b0572cd5f754499ae46b808d Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 8 Nov 2019 07:37:26 -0800 Subject: [PATCH] Remove a hardcoded HTTP method. --- src/Pages/Internal/Secrets.elm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Pages/Internal/Secrets.elm b/src/Pages/Internal/Secrets.elm index f275928a..f622a49f 100644 --- a/src/Pages/Internal/Secrets.elm +++ b/src/Pages/Internal/Secrets.elm @@ -56,8 +56,7 @@ get (Url ( UnmaskedUrl unmaskedUrl, maskedUrl )) gotResponse = Http.expectString (\response -> gotResponse - -- TODO hash remove hardcoded GET - { request = { url = maskedUrl, method = "GET" } + { request = { url = maskedUrl, method = unmaskedUrl.method } , response = response } )