Skip to content

Commit

Permalink
AE-2362: Remove unnecessary middlewares from route definition
Browse files Browse the repository at this point in the history
  • Loading branch information
etahto committed Dec 20, 2024
1 parent f866526 commit 6cbacd7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
[["/public-csv"
["/update"
{:post {:summary "Päivitä julkiset CSV-tiedostot S3:ssa."
:middleware [[security/wrap-db-application-name
(kayttaja-service/system-kayttaja :aineisto)]
[security/wrap-whoami-for-internal-aineisto-api]]
:middleware [[security/wrap-db-application-name]]
:responses {200 {:body nil}}
:handler (fn [{:keys [db whoami aws-s3-client]}]
(r/response
Expand Down

0 comments on commit 6cbacd7

Please sign in to comment.