diff --git a/lib/mudbrick.ex b/lib/mudbrick.ex index eb5b91d..25f1480 100644 --- a/lib/mudbrick.ex +++ b/lib/mudbrick.ex @@ -217,7 +217,7 @@ defmodule Mudbrick do context |> add(%ContentStream.QPush{}) |> add(ContentStream.Cm.new(cm_opts(image.value, opts))) - |> add(%ContentStream.Do{image: image.value}) + |> add(%ContentStream.Do{image_identifier: image.value.resource_identifier}) |> add(%ContentStream.QPop{}) :error -> diff --git a/lib/mudbrick/content_stream/do.ex b/lib/mudbrick/content_stream/do.ex index c41039c..04b9f16 100644 --- a/lib/mudbrick/content_stream/do.ex +++ b/lib/mudbrick/content_stream/do.ex @@ -1,11 +1,11 @@ defmodule Mudbrick.ContentStream.Do do @moduledoc false - defstruct [:image] + defstruct [:image_identifier] defimpl Mudbrick.Object do def to_iodata(operator) do [ - Mudbrick.Object.to_iodata(operator.image.resource_identifier), + Mudbrick.Object.to_iodata(operator.image_identifier), " Do" ] end