PostgresError: syntax error at or near "$1"
game is text (string)
and checkCode is text (string)
on this case provided as string[]
when checkCode len is 1 we are getting this error but when its grater then 1 there aren't any error found2 Replies
inArray accepts an array or a subquery as the second argument, but it looks like you're passing a string
Can you check if this would work?
CheckCode is type string[] actually I didn't name it CheckCodes
I used class-validetor