                   ;; FIXME: This should be application/edn
                   :headers {"Accept" "application/json"}
                   :response-format :json
-                  :keywords? true}))
-          (println "Not fetching sensors!"))
+                  :keywords? true})))
         (om/update! sensors :device-id new-device-id)
 
         ;; handle selection in sensors table

                            (om/update! projects :selected nil))
                ;; TODO: Add Error Handler
                :headers {"Accept" "application/edn"}
                :response-format :text})
          (println "Not fetching projects!"))

        ;; update our current id with the new one
        (om/update! projects :programme-id new-programme-id)

                            (om/update! programmes :selected nil))
                ;; TODO: Add Error Handler
                :headers {"Accept" "application/edn"}
                :response-format :text}))

        ;; handle selection on programmes table (this should be nil if called)
        (om/update! programmes :selected (:programmes active-components))))
