Skip to content

Commit

Permalink
fix(api getTopLevelPageData): Adds asc sort by id to getTopLevelPageD…
Browse files Browse the repository at this point in the history
…ata fn
  • Loading branch information
Designaroni committed Jan 9, 2023
1 parent 70e7dd6 commit 4cd632b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ export async function getTopLevelPageData() {
const data = await fetchAPI<FetchJSON["data"]>(
`
query TopLevelPages {
topLevelPages(filters: { name: { notContains: "About" } }) {
topLevelPages(filters: { name: { notContains: "About" } }, sort: "id:asc") {
data {
attributes {
heroImage {
Expand Down

0 comments on commit 4cd632b

Please sign in to comment.