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 54a70cd commit fc16cebCopy full SHA for fc16ceb
src/word_keeper/core.clj
@@ -32,7 +32,7 @@
32
33
(defroutes routes
34
(GET "/" [] action-index)
35
- (POST "/api/translations/:uid/create" [uid] #(post-translation % uid))
+ (POST "/api/translations/:uid/create" [uid] #(post-translation % (Integer/parseInt uid)))
36
(GET "/api/translations/:uid" [uid] #(flat-user-translations % uid))
37
(GET "/vocabulary" [] (-> action-vocabulary auth-middleware))
38
(GET "/signin" [] action-signin)
0 commit comments