From 5477909d4d1a153a499d72946ead612028835bbe Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 21 Nov 2016 18:13:59 +0100 Subject: [PATCH] Implement IDeref for Rsp type. --- backend/src/uxbox/util/response.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/src/uxbox/util/response.clj b/backend/src/uxbox/util/response.clj index 086b78f703..c1bc2a0977 100644 --- a/backend/src/uxbox/util/response.clj +++ b/backend/src/uxbox/util/response.clj @@ -38,6 +38,9 @@ (= etag new-tag)))) (deftype Rsp [data] + clojure.lang.IDeref + (deref [_] data) + ch/ISend (-send [_ ctx] (let [^Response response (ctx/get-response* ctx)