fix: prevent validation errors in workspace/card queries (#356)

* fix: prevent workspace.byId validation errors when publicId is empty

* fix: add keys to shortcut elements

* fix: prevent card.byId validation errors when cardPublicId is empty

* chore: remove invalid config option from next.config.js
This commit is contained in:
Henry
2026-02-02 22:25:54 +00:00
committed by GitHub
parent 81c03b51e2
commit 78b9de869f
11 changed files with 60 additions and 36 deletions

View File

@@ -53,7 +53,6 @@ const config = {
{
protocol: 'https',
hostname: 'cdn.discordapp.com',
pathname: '/avatars/**',
},
];
@@ -95,12 +94,6 @@ const config = {
swcPlugins: [["@lingui/swc-plugin", {}]],
},
api: {
bodyParser: {
sizeLimit: env("NEXT_API_BODY_SIZE_LIMIT") || '1mb',
},
},
async rewrites() {
return [
{