We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61db16 commit 567592eCopy full SHA for 567592e
src/clojurians_log/db/queries.clj
@@ -110,16 +110,13 @@
110
ids))
111
112
(defn user-profile
113
- "returing all the data about the user acording to the user id slack number"
114
- [db id]
115
- (first
116
- (d/q '[:find
117
- (pull ?user [*])
118
- :in $ ?id
119
- :where
120
- [?user :user/slack-id ?id]]
121
- db
122
- id)))
+ "returing all the data about the user acording to the user id slack number"
+ [db id]
+ (first (d/q '[:find (pull ?user [*])
+ :in $ ?id
+ :where [?user :user/slack-id ?id]]
+ db
+ id)))
123
124
(defn thread-messages
125
"Retrieve all child messages for the given parent threads"
0 commit comments