Pull client API into client.clj
This commit is contained in:
parent
73f2dc9a77
commit
7ff8a393c0
|
@ -6,7 +6,8 @@
|
||||||
[clojure.core.async :as async :refer [go-loop chan timeout >! <!]])
|
[clojure.core.async :as async :refer [go-loop chan timeout >! <!]])
|
||||||
(:import (net.bis5.mattermost.client4 ApiResponse
|
(:import (net.bis5.mattermost.client4 ApiResponse
|
||||||
MattermostClient)
|
MattermostClient)
|
||||||
net.bis5.mattermost.model.ChannelView))
|
net.bis5.mattermost.model.ChannelView)
|
||||||
|
(:use bebot.api.client))
|
||||||
|
|
||||||
(defn- to-result [resp]
|
(defn- to-result [resp]
|
||||||
(if (.hasError resp)
|
(if (.hasError resp)
|
||||||
|
|
Loading…
Reference in New Issue