Permalink
Browse files

This is a string -- not a map.

  • Loading branch information...
1 parent ce838c1 commit e106fc091cc46c11a3a4a97e54de0ad7edd23f9c @Raynes Raynes committed Jan 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/refheap/models/api.clj
@@ -23,7 +23,7 @@
"Get a user's API token. Generate one if it doesn't exist."
[userid]
(or (:token (users/get-user-by-id userid))
- (:token (new-token userid))))
+ (new-token userid)))
(defn validate-user
"Validate that a token exists and that the user has that token."

0 comments on commit e106fc0

Please sign in to comment.