From 47eed38ee6a595ac24fd7b550c5efe9043890af5 Mon Sep 17 00:00:00 2001 From: Cornelius Diekmann Date: Fri, 2 Sep 2016 16:38:03 +0200 Subject: [PATCH] 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. --- doc/tutorial/ApiType.lhs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/ApiType.lhs b/doc/tutorial/ApiType.lhs index 096903e8..3aa4c844 100644 --- a/doc/tutorial/ApiType.lhs +++ b/doc/tutorial/ApiType.lhs @@ -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`