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:
parent
d09b70f427
commit
47eed38ee6
1 changed files with 2 additions and 2 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue