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 06586af commit 1aa9afcCopy full SHA for 1aa9afc
src/source/middleware/core.clj
@@ -23,7 +23,7 @@
23
(assoc :store store)
24
(handler))))
25
26
-(defn wrap-js
+(defn wrap-js
27
"attaches the provided job service to the handler's request"
28
[handler js]
29
(fn [request]
@@ -39,7 +39,7 @@
39
(-> app
40
(wrap-store store)))
41
42
-(defn apply-js
+(defn apply-js
43
"middleware for attaching the job service to the request"
44
[app js]
45
@@ -96,3 +96,7 @@
96
(defn apply-bundle [app]
97
98
(auth/wrap-bundle-id)))
99
+
100
+(defn apply-api-key [app]
101
+ (-> app
102
+ (auth/wrap-auth-api-key)))
src/source/middleware/interface.clj
@@ -11,3 +11,6 @@
11
12
13
(mw/apply-bundle app))
14
15
16
+ (mw/apply-api-key app))
0 commit comments