Fix generation of JSON field validation for short type. (#1549)

This commit is contained in:
Justen Di Ruscio 2023-03-30 23:49:48 -03:00 committed by GitHub
parent 122a42cd4f
commit 5df4db96a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1492,7 +1492,7 @@ if(!col.notNull_){%>
}
<%c++
}
else if(col.colType_.find("int") == 0)
else if(col.colType_.find("int") == 0 || col.colType_ == "short")
{
%>
if(!pJson.isInt())