mirror of https://gitee.com/bigwinds/arangodb
fixed invalid return value
This commit is contained in:
parent
50ef0a64c0
commit
ed93c458df
|
@ -995,7 +995,7 @@ ArangoCollection.prototype.ensureFulltextIndex = function (fields, minLength) {
|
|||
fields = [ fields ];
|
||||
}
|
||||
|
||||
this.ensureIndex({
|
||||
return this.ensureIndex({
|
||||
type: "fulltext",
|
||||
minLength: minLength || undefined,
|
||||
fields: fields
|
||||
|
|
Loading…
Reference in New Issue