diff options
Diffstat (limited to 'client/src/app/+admin/users/shared')
-rw-r--r-- | client/src/app/+admin/users/shared/user.service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+admin/users/shared/user.service.ts b/client/src/app/+admin/users/shared/user.service.ts index dc77cc1d8..6536546fb 100644 --- a/client/src/app/+admin/users/shared/user.service.ts +++ b/client/src/app/+admin/users/shared/user.service.ts | |||
@@ -6,11 +6,12 @@ import 'rxjs/add/operator/catch' | |||
6 | import 'rxjs/add/operator/map' | 6 | import 'rxjs/add/operator/map' |
7 | import { Observable } from 'rxjs/Observable' | 7 | import { Observable } from 'rxjs/Observable' |
8 | import { ResultList, UserCreate, UserUpdate } from '../../../../../../shared' | 8 | import { ResultList, UserCreate, UserUpdate } from '../../../../../../shared' |
9 | import { environment } from '../../../../environments/environment' | ||
9 | import { RestExtractor, RestPagination, RestService, User } from '../../../shared' | 10 | import { RestExtractor, RestPagination, RestService, User } from '../../../shared' |
10 | 11 | ||
11 | @Injectable() | 12 | @Injectable() |
12 | export class UserService { | 13 | export class UserService { |
13 | private static BASE_USERS_URL = API_URL + '/api/v1/users/' | 14 | private static BASE_USERS_URL = environment.apiUrl + '/api/v1/users/' |
14 | private bytesPipe = new BytesPipe() | 15 | private bytesPipe = new BytesPipe() |
15 | 16 | ||
16 | constructor ( | 17 | constructor ( |