diff --git a/pages/documents.tsx b/pages/documents.tsx index 93e542a9..deed0f7b 100644 --- a/pages/documents.tsx +++ b/pages/documents.tsx @@ -126,7 +126,7 @@ const Page: NextPage = props => ( export const unstable_getStaticProps = async (ctx) => { const pageUrl = '/documents' - const res = await requestGet>(createApiUrl('/api/files'), { items: [] }) + const res = await requestGet>(createApiUrl('/api/files'), null) const files = res.items const title = 'Документы' const collections = getSorted(files)