fix: Modal reply

This commit is contained in:
Elysia 2024-01-30 12:28:08 +07:00
parent 6307a4b7f2
commit 7dd33bd946

View File

@ -122,7 +122,7 @@ class Modal {
}; };
return c; return c;
}) })
.filter(c => c.components[0].value && c.components[0].value !== ''); .filter(c => typeof c.components[0].value == 'string');
delete dataFinal.title; delete dataFinal.title;
const nonce = SnowflakeUtil.generate(); const nonce = SnowflakeUtil.generate();
const postData = { const postData = {