Skip to content

Commit c59bc4a

Browse files
committed
Document usage with pedestal
1 parent 6b9d5f5 commit c59bc4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Below is an example combining Pedestal with
124124
{:name ::attach-loaders
125125
:enter (fn [context] (assoc-in context [:request :loaders] (atom (create-loaders))))
126126
:leave cleanup
127-
:error cleanup}))
127+
:error (fn [context _] (cleanup context))}))
128128

129129

130130
; Handle the graphql request, passing the loaders into the graphql context

0 commit comments

Comments
 (0)