Fixed typo: s/real/realm/

Actually, I'm just trying to learn servant and I'm reading the doc for the first time. But this just looks like a typo to me.
This commit is contained in:
Cornelius Diekmann 2016-09-02 16:38:03 +02:00 committed by GitHub
parent d09b70f427
commit 47eed38ee6

View File

@ -319,8 +319,8 @@ Which is used like so:
``` haskell
type ProtectedAPI12
= UserAPI -- this is public
:<|> BasicAuth "my-real" User :> UserAPI2 -- this is protected by auth
= UserAPI -- this is public
:<|> BasicAuth "my-realm" User :> UserAPI2 -- this is protected by auth
```
### Interoperability with `wai`: `Raw`