@@ -321,7 +321,7 @@ data BasicAuth (realm :: Symbol) (userData :: *)
321321Which is used like so:
322322
323323``` haskell
324−type ProtectedAPI12
324+type ProtectedAPI11
325325 = UserAPI -- this is public
326326 :<|> BasicAuth "my-realm" User :> UserAPI2 -- this is protected by auth
327327```
@@ -334,7 +334,7 @@ you want to plug a [wai `Application`](http://hackage.haskell.org/package/wai)
334334into your webservice:
335335
336336``` haskell
337−type UserAPI11 = "users" :> Get '[JSON] [User]
337+type UserAPI12 = "users" :> Get '[JSON] [User]
338338 -- a /users endpoint
339339
340340 :<|> Raw