Merge branch 'develop' of https://bitbucket.org/ncarminati/cms_step into develop
This commit is contained in:
@@ -381,7 +381,12 @@ namespace Step.Controllers.WebApi
|
||||
if (libraryError.IsError())
|
||||
return BadRequest(libraryError.localizationKey);
|
||||
|
||||
return Ok(toolId);
|
||||
return Ok(
|
||||
new {
|
||||
magazineId,
|
||||
positionId,
|
||||
toolId = toolId.ToolId
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -400,7 +405,12 @@ namespace Step.Controllers.WebApi
|
||||
if (libraryError.IsError())
|
||||
return BadRequest(libraryError.localizationKey);
|
||||
|
||||
return Ok();
|
||||
return Ok(new
|
||||
{
|
||||
magazineId,
|
||||
positionId,
|
||||
toolId = 0
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user