Set url function to private.

This commit is contained in:
Alexis Lahouze
2017-07-31 13:16:18 +02:00
parent dc30f38662
commit 0b0c771558
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@ export class OperationService {
return date;
}
url(id?: Number): string {
private url(id?: Number): string {
if(id) {
return `/api/operation/${id}`;
}