mirror of https://gitee.com/bigwinds/arangodb
fixed collection create bug
This commit is contained in:
parent
698fa4daeb
commit
4f4725b25c
|
@ -164,7 +164,7 @@
|
|||
data.type = parseInt(object.collType, 10);
|
||||
if (object.shards) {
|
||||
data.numberOfShards = object.shards;
|
||||
data.shardKeys = object.keys;
|
||||
data.shardKeys = object.shardBy;
|
||||
}
|
||||
if (object.replicationFactor) {
|
||||
data.replicationFactor = JSON.parse(object.replicationFactor);
|
||||
|
|
Loading…
Reference in New Issue