Browse Source

feat: show up to 100 notes

main
Inhji Y. 8 months ago
parent
commit
bb4520f230
  1. 2
      lib/mirage/notes.ex

2
lib/mirage/notes.ex

@ -47,7 +47,7 @@ defmodule Mirage.Notes do
def list_notes do
q =
from n in Note,
limit: 10,
limit: 100,
select: n,
order_by: [desc: :inserted_at],
preload: ^@note_preloads

Loading…
Cancel
Save