Update readme.md
This commit is contained in:
parent
b76a8296a8
commit
35799245ed
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user