From b9e23eeb90862853192e9d7e9ced002243d6d9bf Mon Sep 17 00:00:00 2001 From: KKlochko Date: Thu, 10 Apr 2025 20:56:26 +0300 Subject: [PATCH] Remove unused variable from the Book sync task. --- .../sync/sync_tasks/sync_books_task.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decentralised_book_index/sync/sync_tasks/sync_books_task.ex b/lib/decentralised_book_index/sync/sync_tasks/sync_books_task.ex index bbb7f1b..096e1a8 100644 --- a/lib/decentralised_book_index/sync/sync_tasks/sync_books_task.ex +++ b/lib/decentralised_book_index/sync/sync_tasks/sync_books_task.ex @@ -46,7 +46,7 @@ defmodule DecentralisedBookIndex.SyncTasks.SyncBooksTask do end defp get_author_roles_url(json) do - url = get_in(json, ["relationships", "author_roles", "links", "related"]) + get_in(json, ["relationships", "author_roles", "links", "related"]) end defp get_author_roles(json) do @@ -64,7 +64,7 @@ defmodule DecentralisedBookIndex.SyncTasks.SyncBooksTask do end defp get_bids_url(json) do - url = get_in(json, ["relationships", "bids", "links", "related"]) + get_in(json, ["relationships", "bids", "links", "related"]) end defp get_bids(json) do