fix: update dependencies to latest + fix upload of files

This commit is contained in:
2023-07-22 16:34:23 +02:00
parent 41c2d95dde
commit 5a411ade19
42 changed files with 1382 additions and 8571 deletions

View File

@ -36,7 +36,7 @@ export const getServerSideProps = authenticationFromServerSide({
shouldBeAuthenticated: true,
fetchData: async (context, api) => {
const userId = Number(context?.params?.['userId'])
if (isNaN(userId)) {
if (Number.isNaN(userId)) {
return {
notFound: true
}