Skip to content

Commit 16057a2

Browse files
committed
Merge pull request #5 from otakup0pe/master
Slight API change in v3.2.1
2 parents 2a1f7aa + 8fdcbf4 commit 16057a2

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.2
1+
0.5.3

lib/zenoss/jsonapi/device_router.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def get_devices(uid = '/zport/dmd/Devices', opts = {})
4141
data[:sort] = opts[:sort_key] if opts.has_key? :sort_key
4242
data[:dir] = opts[:sort_ord] if opts.has_key? :sort_ord
4343
data[:params] = opts[:params] if opts.has_key? :params
44+
data[:params] ||= {}
4445
resp = json_request('DeviceRouter', 'getDevices', [data])
4546

4647
devs = []

0 commit comments

Comments
 (0)