module Zero.Account.Profile.Handlers
  (
    profile
  ) where

------------------------------------------------------------------------------

import           Servant (Handler(..))
import           Zero.View.Handlers (makeProtectedView, makeView)
import           Zero.View (View(..))
import           Zero.Account.Profile (Profile(..))
import           Zero.SessionToken.State

------------------------------------------------------------------------------

profile :: SessionTokenState -> Handler (View Profile)
profile sessionToken =
  makeView Profile
