From 4d48795ccddc8e133ff27c71d48b8a79894fd422 Mon Sep 17 00:00:00 2001 From: KKlochko Date: Mon, 7 Apr 2025 21:48:15 +0300 Subject: [PATCH] Update the AuthorRole API to show the author relationship. --- lib/decentralised_book_index/metadata/author_role.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/decentralised_book_index/metadata/author_role.ex b/lib/decentralised_book_index/metadata/author_role.ex index 3e9beb2..2b2df4b 100644 --- a/lib/decentralised_book_index/metadata/author_role.ex +++ b/lib/decentralised_book_index/metadata/author_role.ex @@ -95,6 +95,7 @@ defmodule DecentralisedBookIndex.Metadata.AuthorRole do belongs_to :author, Metadata.Author do allow_nil? true + public? true end end end