From a99cac428572a41e870a5c82edc13be04800ae14 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 20 May 2020 13:29:03 +0200 Subject: [PATCH] [#6] typo --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 17dece7..1763e95 100644 --- a/README.md +++ b/README.md @@ -335,11 +335,11 @@ as client side code. An example from the "pod.babashka.filewatcher" 'pod.babashka.filewatcher/watch* [path opts] - {:handler {:success (fn [{:keys [:value]}] (cb value)) - :error (fn [{:keys [:ex-message :ex-data]}] - (binding [*out* *err*] - (println "ERROR:" ex-message))) - :done (fn [_])}}) + {:handlers {:success (fn [{:keys [:value]}] (cb value)) + :error (fn [{:keys [:ex-message :ex-data]}] + (binding [*out* *err*] + (println "ERROR:" ex-message))) + :done (fn [_])}}) nil)) ```