refactor reserve and release endpoints in HTTP POST and DELETE methods

This commit is contained in:
Vishal Banthia
2015-12-07 17:49:34 +09:00
parent dccacea43f
commit bca180d284
6 changed files with 189 additions and 174 deletions

View File

@@ -181,7 +181,7 @@ module.exports = function DeviceServiceFactory($http, socket, EnhanceDeviceServi
, digest: true
})
oboe('/api/v1/group')
oboe('/api/v1/user/devices')
.node('devices[*]', function (device) {
tracker.add(device)
})