From a24fdcfe5993d51bd764f77549bd12d2433133b7 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 29 Apr 2024 07:49:08 -0400 Subject: [PATCH] docs: fix code interface example --- lib/ash/domain/dsl.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ash/domain/dsl.ex b/lib/ash/domain/dsl.ex index eadf82f08..4ef527042 100644 --- a/lib/ash/domain/dsl.ex +++ b/lib/ash/domain/dsl.ex @@ -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(),