Pull client API into client.clj

This commit is contained in:
niten 2022-06-07 12:13:50 -07:00
parent 73f2dc9a77
commit 7ff8a393c0
1 changed files with 2 additions and 1 deletions

View File

@ -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)