Skip to content

Commit

Permalink
Change user.add api method to user.create since the api method is now…
Browse files Browse the repository at this point in the history
… user.create.
  • Loading branch information
rrtj3 committed Nov 23, 2011
1 parent 9672cea commit e468640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zabbix/zabbix_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ def getObjects(self,**opts):
* @return string|boolean """
return opts

@dojson('user.add')
@dojson('user.create')
@checkauth
def add(self,**opts):
def create(self,**opts):
""" * Add Users
*
* {@source}
Expand Down

0 comments on commit e468640

Please sign in to comment.