Update Book to sync only a new non-local data.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user