{"action":"created","issue":{"url":"https://api.github.com/repos/Rydgel/Clojure-Instagram-API/issues/3","labels_url":"https://api.github.com/repos/Rydgel/Clojure-Instagram-API/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Rydgel/Clojure-Instagram-API/issues/3/comments","events_url":"https://api.github.com/repos/Rydgel/Clojure-Instagram-API/issues/3/events","html_url":"https://github.com/Rydgel/Clojure-Instagram-API/issues/3","id":83044051,"number":3,"title":"access-token - can't access keys.","user":{"login":"timbofield","id":1326910,"avatar_url":"https://avatars.githubusercontent.com/u/1326910?v=3","gravatar_id":"","url":"https://api.github.com/users/timbofield","html_url":"https://github.com/timbofield","followers_url":"https://api.github.com/users/timbofield/followers","following_url":"https://api.github.com/users/timbofield/following{/other_user}","gists_url":"https://api.github.com/users/timbofield/gists{/gist_id}","starred_url":"https://api.github.com/users/timbofield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timbofield/subscriptions","organizations_url":"https://api.github.com/users/timbofield/orgs","repos_url":"https://api.github.com/users/timbofield/repos","events_url":"https://api.github.com/users/timbofield/events{/privacy}","received_events_url":"https://api.github.com/users/timbofield/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-31T08:59:47Z","updated_at":"2015-05-31T12:13:30Z","closed_at":null,"body":"I'm a noob and this this isn't a support forum, but ... any clues as to what is going on here?  With the below access token looks correct ( if print it all I can see the keys & data ) but I can't display it per the example ( or any other way, its like it isn't actually a map structure beyond body)  test-thing value works...\r\n\r\n```clojure\r\n (defn save-auth [{:keys [params]}]\r\n  (let [code (:code params)\r\n        access-token (get-access-token *creds* code)\r\n        test-thing {:body {:access_token \"ted\"}} ]\r\n    {:status 200\r\n     :headers {\"Content-Type\" \"text/plain\"}\r\n     :body (-> access-token :body :access_token)}))\r\n```"},"comment":{"url":"https://api.github.com/repos/Rydgel/Clojure-Instagram-API/issues/comments/107166603","html_url":"https://github.com/Rydgel/Clojure-Instagram-API/issues/3#issuecomment-107166603","issue_url":"https://api.github.com/repos/Rydgel/Clojure-Instagram-API/issues/3","id":107166603,"user":{"login":"Rydgel","id":6583,"avatar_url":"https://avatars.githubusercontent.com/u/6583?v=3","gravatar_id":"","url":"https://api.github.com/users/Rydgel","html_url":"https://github.com/Rydgel","followers_url":"https://api.github.com/users/Rydgel/followers","following_url":"https://api.github.com/users/Rydgel/following{/other_user}","gists_url":"https://api.github.com/users/Rydgel/gists{/gist_id}","starred_url":"https://api.github.com/users/Rydgel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rydgel/subscriptions","organizations_url":"https://api.github.com/users/Rydgel/orgs","repos_url":"https://api.github.com/users/Rydgel/repos","events_url":"https://api.github.com/users/Rydgel/events{/privacy}","received_events_url":"https://api.github.com/users/Rydgel/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T12:13:29Z","updated_at":"2015-05-31T12:13:29Z","body":"@timbofield I updated my lib to version 0.2.0. It outputs better hashes, so you are not forced to use ```get```.\r\n\r\nFor instance this now works as intended:\r\n\r\n```clojure\r\n(defn save-auth [codeFromIG]\r\n  (let [access-token-request (get-access-token *creds* codeFromIG)\r\n        access-token (-> access-token-request :body :access_token)\r\n        user (-> access-token-request :body :user)]\r\n    {:status 200\r\n     :headers {\"Content-Type\" \"text/plain\"}\r\n     :access-token access-token\r\n     :user user}))\r\n```\r\n\r\nIt always meant to be the case, but the json lib was updated and I didn't notice those changes.\r\nSo you can upgrade if you want and your first code version will work (as it was meant to).\r\nThanks for your feedback."}}