Skip to content

Commit 5ef3aed

Browse files
authored
docs: Update getting-started-with-ash-double-entry.md (#131)
This avoids warnings when trying the given examples.
1 parent ee73c32 commit 5ef3aed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/tutorials/getting-started-with-ash-double-entry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ And add the domain to your config
204204
```elixir
205205
YourApp.Ledger.Account
206206
|> Ash.Changeset.for_create(:open, %{identifier: "account_one"})
207-
|> YourApp.Ledger.create!()
207+
|> Ash.create!()
208208
```
209209

210210
#### Create transfers between accounts
@@ -216,7 +216,7 @@ YourApp.Ledger.Transfer
216216
from_account_id: account_one.id,
217217
to_account_id: account_two.id
218218
})
219-
|> YourApp.Ledger.create!()
219+
|> Ash.create!()
220220
```
221221

222222
#### Update existing transfers

0 commit comments

Comments
 (0)