Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // login and getAccounts return Future
- def something = Action.async { implicit rs =>
- for {
- session <- login(credentials.login, credentials.password)
- accounts <- getAccounts(session)
- } yield Ok(accounts.toString())
- }
Advertisement
Add Comment
Please, Sign In to add comment