1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-07 02:33:39 +02:00
airsonic-ui/test/cljs/airsonic_ui/fixtures.cljs
Arne Schlüter ab7519f289
Add user notifications and display api errors (#10)
Closes #2 

* Add user notifications

* Update re-frame-10x config

* Display api errors as notifications

* Automatically hide notifications after a while
2018-06-11 19:58:13 +02:00

14 lines
625 B
Clojure

(ns airsonic-ui.fixtures)
(def responses {:error {:subsonic-response
{:error {:code 40
:message "Wrong username or password"}
:status "failed"
:version "1.15.0"}}
:ok {:subsonic-response
{:scanStatus {:count 10326
:scanning false}
:status "ok"
:version "1.15.0"}}
:auth-success {:subsonic-response {:status "ok"
:version "1.15.0"}}})