From bdfae526bb7184dcb20d40800c81403d3430641d Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sat, 16 May 2020 17:53:43 +0300 Subject: [PATCH] Fix async examples --- examples/http-swagger/src/example/server.clj | 1 + examples/http/src/example/server.clj | 2 ++ 2 files changed, 3 insertions(+) diff --git a/examples/http-swagger/src/example/server.clj b/examples/http-swagger/src/example/server.clj index 7b0b381f..b23f7bf8 100644 --- a/examples/http-swagger/src/example/server.clj +++ b/examples/http-swagger/src/example/server.clj @@ -21,6 +21,7 @@ [clojure.java.io :as io] [clojure.spec.alpha :as s] [spec-tools.core :as st] + [sieppari.async.manifold] [manifold.deferred :as d])) (s/def ::x int?) diff --git a/examples/http/src/example/server.clj b/examples/http/src/example/server.clj index adc6a90d..021e11ff 100644 --- a/examples/http/src/example/server.clj +++ b/examples/http/src/example/server.clj @@ -2,6 +2,8 @@ (:require [reitit.http :as http] [reitit.ring :as ring] [reitit.interceptor.sieppari] + [sieppari.async.core-async] ;; needed for core.async + [sieppari.async.manifold] ;; needed for manifold [ring.adapter.jetty :as jetty] [muuntaja.interceptor] [clojure.core.async :as a]