aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/api.cljs
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-17 13:17:40 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-17 13:17:40 +0100
commit81f03c0b449bec1fa60cf2936bfc3f66a5ad58c1 (patch)
treea2a7aa01f61dd71b511dd3729a9f4b28c35b531f /src/frontend/tau/api.cljs
parent5e995881dd0c431ae63b1a50c2d03e59962241f1 (diff)
chore: Rename project
Diffstat (limited to 'src/frontend/tau/api.cljs')
-rw-r--r--src/frontend/tau/api.cljs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/frontend/tau/api.cljs b/src/frontend/tau/api.cljs
deleted file mode 100644
index e69bc9c..0000000
--- a/src/frontend/tau/api.cljs
+++ /dev/null
@@ -1,15 +0,0 @@
-(ns tau.api
- (:require
- [ajax.core :as ajax]))
-
-(defn get-request
- ([uri on-success on-failure]
- (get-request uri on-success on-failure {}))
- ([uri on-success on-failure params]
- {:http-xhrio {:method :get
- :uri uri
- :params params
- :format (ajax/json-request-format)
- :response-format (ajax/json-response-format {:keywords? true})
- :on-success on-success
- :on-failure on-failure}}))