Skip to content

Commit b9b7709

Browse files
committed
fix: update method to use object.update etc
1 parent cd25fd4 commit b9b7709

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var api = (() => {
2727
})
2828

2929
let org = await CRUD.send({
30-
method: 'read.object',
30+
method: 'object.read',
3131
array: "organizations",
3232
key: config["key"],
3333
organization_id: config["organization_id"],
@@ -62,7 +62,7 @@ var api = (() => {
6262
})
6363

6464
let data2 = await CRUD.send({
65-
method: 'read.object',
65+
method: 'object.read',
6666
array: "organizations",
6767
object: {
6868
$filter: {
@@ -96,7 +96,7 @@ var api = (() => {
9696
})
9797

9898
let myOrg = await CRUD.send({
99-
method: 'read.object',
99+
method: 'object.read',
100100
array: "organizations",
101101
key: org["key"],
102102
organization_id: org["_id"],

0 commit comments

Comments
 (0)