Skip to content

Commit

Permalink
Fix cuerdas version
Browse files Browse the repository at this point in the history
  • Loading branch information
hajoa committed Nov 27, 2023
1 parent 46e0db6 commit ac512f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
[org.slf4j/log4j-over-slf4j "2.0.9"]
[oph/clj-string-normalizer "0.1.0-SNAPSHOT" :exclusions [org.jboss.logging/jboss-logging com.google.guava/guava]]
[com.google.guava/guava "31.1-jre"]
[cuerdas "0.3.2"]]
[funcool/cuerdas "2.2.0"]]

:min-lein-version "2.5.3"

Expand Down
2 changes: 1 addition & 1 deletion src/clj/ataru/virkailija/virkailija_routes.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@
{offset :- s/Str nil}]
:return {:applications [ataru-schema/HakurekisteriApplicationToinenAste]
(s/optional-key :offset) s/Str}
(cond (str/empty? haku-oid)
(cond (str/empty-or-nil? haku-oid)
(response/bad-request {:error "No haku-oid path parameter given"})
(session-orgs/run-org-authorized
session
Expand Down

0 comments on commit ac512f6

Please sign in to comment.