Skip to content

Commit b9d3beb

Browse files
Revert 'cmdb.object.save' to 'cmdb.object.create'
1 parent 092e4f8 commit b9d3beb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/CMDBObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function create($type, string $title, array $attributes = []): int {
5959
$attributes['title'] = $title;
6060

6161
$result = $this->api->request(
62-
'cmdb.object.save',
62+
'cmdb.object.create',
6363
$attributes
6464
);
6565

@@ -147,7 +147,7 @@ public function update(int $objectID, array $attributes = []): self {
147147
}
148148

149149
$result = $this->api->request(
150-
'cmdb.object.save',
150+
'cmdb.object.create',
151151
$params
152152
);
153153

0 commit comments

Comments
 (0)