Skip to content

Commit

Permalink
Remove opts
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTovar committed May 24, 2024
1 parent 81521f0 commit 94fcefa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/beacon/live_admin/content.ex
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ defmodule Beacon.LiveAdmin.Content do
end

def list_layouts(site, opts \\ []) do
opts =
opts
|> Keyword.put_new(:query, nil)
|> Keyword.put_new(:per_page, 20)

call(site, Beacon.Content, :list_layouts, [site, opts])
end

Expand Down

0 comments on commit 94fcefa

Please sign in to comment.