fix chat message sending not working

This commit is contained in:
Henry Jameson 2026-07-08 17:49:43 +03:00
commit bb4eb33c85
3 changed files with 4 additions and 3 deletions

View file

@ -17,7 +17,6 @@ export const paramsString = (params = {}) => {
}
})()
if (entries.length === 0) return ''
const arrays = []
const nonArrays = []
@ -48,6 +47,8 @@ export const paramsString = (params = {}) => {
})
})
if (nonArrays.length + arrays.length === 0) return ''
return (
'?' +
[