From 9f2550edc7b5a9ec5122222a6295b896be367df4 Mon Sep 17 00:00:00 2001 From: ronreg-ribdev <56719257+ronreg-ribdev@users.noreply.github.com> Date: Mon, 1 Jun 2020 00:36:08 -0700 Subject: [PATCH] Correct elevator URL --- urbit/app/bartinfo.hoon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urbit/app/bartinfo.hoon b/urbit/app/bartinfo.hoon index 6bb38d5..ad6ecf4 100644 --- a/urbit/app/bartinfo.hoon +++ b/urbit/app/bartinfo.hoon @@ -168,13 +168,14 @@ :: ++ bart-api-elevator-status ^- request:http - =/ url (crip "{bart-api-url-base}/stn.aspx?cmd=stns&key={bart-api-key}&json=y") + =/ url (crip "{bart-api-url-base}/bsa.aspx?cmd=elev&key={bart-api-key}&json=y") =/ headers [['Accept' 'application/json']]~ [%'GET' url headers *(unit octs)] ++ parse-elevator-status-response |= response=client-response:iris ^- json =, format + ~& response (pairs:enjs [[%yolo %b %.y] ~]) :: ++ poke-handle-http-request