Skip to content

Commit

Permalink
Fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Dec 24, 2024
1 parent b802df5 commit fc045be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opsmaru/content/technology/manager.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule Opsmaru.Content.Technology.Manager do
end_index = Keyword.get(options, :end_index, 5)

query = ~S"""
*[_type == "technology"][0..$end_index] | order(index asc) {
*[_type == "technology"] | order(index asc) [0..$end_index] {
...,
category -> {...},
"logo": {"url": logo.asset -> url, "alt": logo.alt}
Expand Down

0 comments on commit fc045be

Please sign in to comment.