Update link.service.ts

This commit is contained in:
piotrpekala7 2020-07-13 16:52:46 +02:00
parent 4c528bea07
commit 46c6cd1d7e

View File

@ -55,8 +55,8 @@ export class LinkService {
}
updateLink(server: Server, link: Link) {
link.x = Math.round(link.x);
link.y = Math.round(link.y);
// link.x = Math.round(link.x);
// link.y = Math.round(link.y);
return this.httpServer.put<Link>(server, `/projects/${link.project_id}/links/${link.link_id}`, link);
}