Update Book to sync only a new non-local data.

This commit is contained in:
2025-05-06 21:23:42 +03:00
parent 83a82a2da2
commit 72bc941d18
5 changed files with 98 additions and 15 deletions
+4 -1
View File
@@ -179,6 +179,8 @@ defmodule DecentralisedBookIndex.Generators do
related_book = opts[:related_book] || nil
dbi_server_id = opts[:dbi_server_id] || nil
book_editions_registry_id =
if related_book do
related_book.book_editions_registry_id
@@ -199,7 +201,8 @@ defmodule DecentralisedBookIndex.Generators do
bids: bids,
author_roles: author_roles,
publisher_id: publisher_id,
book_editions_registry_id: book_editions_registry_id
book_editions_registry_id: book_editions_registry_id,
dbi_server_id: dbi_server_id
],
overrides: opts,
actor: actor