Skip to content

Commit

Permalink
fix: missing name
Browse files Browse the repository at this point in the history
  • Loading branch information
pReya committed Nov 7, 2023
1 parent 89759f0 commit 6bdb776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/Airtable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const getNewsItems = async (count?: number, baseUrl?: string) => {
let hasOffset;

const apiParameters = encodeURI(
'fields[]=Media+type&fields[]=Images&fields[]=Selected+Photos+(from+Event)&fields[]=Instagram+URL&filterByFormula=AND({Instagram+URL},{Status}="live")&sort[0][field]=Post+date&sort[0][direction]=desc'
'&fields[]=Name&fields[]=Media+type&fields[]=Images&fields[]=Selected+Photos+(from+Event)&fields[]=Instagram+URL&filterByFormula=AND({Instagram+URL},{Status}="live")&sort[0][field]=Post+date&sort[0][direction]=desc'
);

const { records, offset } = await fetchAndHandleErrors<AirtableNewsResponse>(
Expand Down

0 comments on commit 6bdb776

Please sign in to comment.