Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hsharghi committed Apr 13, 2021
1 parent 76b9ba0 commit e266384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ let repo2 = user2.walletsRepository(on: db)

repo2.default().map { walletUser2 in
repo1.transfer(from: .default, to: walletUser2, amount: 10)
// this will transfer 10 from user1's default wallet to user2's default wallet
}

~~~~
Expand Down

0 comments on commit e266384

Please sign in to comment.