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

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

View File

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