Update the AuthorTransformer to return a map instead of a struct.

This commit is contained in:
2025-03-18 18:31:58 +02:00
parent e08372102f
commit 85993dbe9a
2 changed files with 2 additions and 2 deletions
@@ -23,7 +23,7 @@ defmodule DecentralisedBookIndex.Sync.DataTransformers.AuthorTransformerTest do
}
assert {:ok, author} = AuthorTransformer.from_json(json_body)
assert %Author{
assert %{
id: "889a323e-d104-4b5d-b276-dad5a9b1da9d",
name: "Author",
description: "Something"