Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
handleGetProfile :: ScottyT AppM () Source #
getUserProfile :: AcquireProfile m => Text -> Maybe AuthedUser -> m (Either AccountError UserProfile) Source #
class Monad m => AcquireProfile m where Source #
findUserByName :: Text -> Maybe UserID -> m (Either AccountError (UserID, UserProfile)) Source #
Instances
(Monad m, MonadUnliftIO m, MonadIO m, MonadDB m) => AcquireProfile m Source # | |
Defined in Conduit.Features.Account.User.GetProfile findUserByName :: Text -> Maybe UserID -> m (Either AccountError (UserID, UserProfile)) Source # |