mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 06:53:20 +02:00
User path parameter for Delete /user/devices/:device endpoint
This commit is contained in:
@@ -97,7 +97,7 @@ function addDeviceToUser(req, res) {
|
||||
}
|
||||
|
||||
function deleteDeviceFromUser(req, res) {
|
||||
var serial = req.body.serial
|
||||
var serial = req.swagger.params.serial.value
|
||||
|
||||
dbapi.loadDevice(serial)
|
||||
.then(function(device) {
|
||||
|
||||
Reference in New Issue
Block a user