Skip to content

Commit

Permalink
docs: fix code interface example
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Apr 29, 2024
1 parent 856ac69 commit a24fdcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ash/domain/dsl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ defmodule Ash.Domain.Dsl do
Defines a function with the corresponding name and arguments. See the [code interface guide](/documentation/topics/topics/code-interfaces.md) for more.
""",
examples: [
"define :get_user_by_id, User, action: :get_by_id, args: [:id], get?: true"
"define :get_user_by_id, action: :get_by_id, args: [:id], get?: true"
],
target: Ash.Resource.Interface,
schema: Ash.Resource.Interface.schema(),
Expand Down

0 comments on commit a24fdcf

Please sign in to comment.