| .. | .. |
|---|
| 2 | 2 | import { Injectable } from '@angular/core'; |
|---|
| 3 | 3 | import { Http, RequestOptions } from '@angular/http'; |
|---|
| 4 | 4 | import { SeCurisResourceServices } from './base'; |
|---|
| 5 | +import { LocaleService } from '../common/i18n'; |
|---|
| 5 | 6 | |
|---|
| 6 | 7 | var user_example = { |
|---|
| 7 | 8 | creation_timestamp: 1479898458000, |
|---|
| .. | .. |
|---|
| 17 | 18 | |
|---|
| 18 | 19 | @Injectable() |
|---|
| 19 | 20 | export class UsersService extends SeCurisResourceServices { |
|---|
| 20 | | - constructor(http: Http) { |
|---|
| 21 | | - super(http, 'user'); |
|---|
| 21 | + constructor(http: Http, $L: LocaleService) { |
|---|
| 22 | + super($L, http, 'user'); |
|---|
| 22 | 23 | } |
|---|
| 23 | 24 | |
|---|
| 24 | 25 | |
|---|