Update readme.md

This commit is contained in:
Nikiroy78 2022-10-30 23:34:19 +03:00 committed by GitHub
parent b76a8296a8
commit 35799245ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,7 +170,7 @@ After creating class you must create object of njsbacker.Method:
var exampleMethod = new ExampleMethod('example', '/example', { var exampleMethod = new ExampleMethod('example', '/example', {
text : { text : {
required : true, required : true,
type : backend.types.string, type : njsbacker.types.string,
min_length : 1, min_length : 1,
max_length : 255 max_length : 255
} }