Skip to content
Snippets Groups Projects
Commit d46bf5fe authored by Piotr Gawron's avatar Piotr Gawron
Browse files

variable renamed

parent fcc9b05e
No related branches found
No related tags found
1 merge request!698Resolve "if MeSH ID incorrect - add dialog window"
......@@ -23,7 +23,7 @@ public class MeshController extends BaseController {
private Logger logger = Logger.getLogger(MeshController.class);
@Autowired
private MeshRestImpl userRest;
private MeshRestImpl meshRest;
@RequestMapping(value = "/mesh/{id:.+}", method = { RequestMethod.GET }, produces = {
MediaType.APPLICATION_JSON_VALUE })
......@@ -31,15 +31,15 @@ public class MeshController extends BaseController {
@CookieValue(value = Configuration.AUTH_TOKEN) String token,
@PathVariable(value = "id") String id
) throws Exception {
return userRest.getMesh(token, id);
return meshRest.getMesh(token, id);
}
public MeshRestImpl getUserRest() {
return userRest;
return meshRest;
}
public void setUserRest(MeshRestImpl userRest) {
this.userRest = userRest;
this.meshRest = userRest;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment