 
     field :poems, non_null(list_of(:poem)) do
       resolve fn _, _ ->
-        {:ok, Virgil.Poems.list_poems()}
+        {:ok, Poems.list_poems()}
       end
     end
   end

        arg :text, non_null(:string)

        resolve fn %{title: title, author: author, text: text}, _ ->
          case Virgil.Poems.create_poem(%{title: title, author: author, text: text}) do
            {:ok, poem} ->
              {:ok, poem}
            _ ->
              {:error, nil}

defmodule VirgilWeb.Api.Schema do
  use Absinthe.Schema

  alias Virgil.Poems

  object :poem do
    field :id, non_null(:id)
