From 5100d0fd0cd2c7fee6e5182f9c04c221742ce9ac Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 20 Jul 2017 22:53:22 +0200 Subject: [PATCH] Cleanup. --- src/accounts/account.service.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/accounts/account.service.ts b/src/accounts/account.service.ts index 18fc07a..c9b9f3a 100644 --- a/src/accounts/account.service.ts +++ b/src/accounts/account.service.ts @@ -1,20 +1,16 @@ // vim: set tw=80 ts=2 sw=2 sts=2 : import { Injectable } from '@angular/core'; -import { Http, Headers, RequestOptions, Response } from '@angular/http'; import { Observable } from 'rxjs/Rx'; -import { Logger } from "@nsalaun/ng-logger"; import { Restangular } from "ngx-restangular"; import { Account } from './account'; @Injectable() export class AccountService { - private url = '/api/account/'; - constructor( - private logger: Logger, - private restangular: Restangular) {} + private restangular: Restangular + ) {} private all() { return this.restangular.all('account');