| .. | .. |
|---|
| 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 org_example = { code: 'NPS', |
|---|
| 7 | 8 | creation_timestamp: 1488269722000, |
|---|
| .. | .. |
|---|
| 11 | 12 | |
|---|
| 12 | 13 | @Injectable() |
|---|
| 13 | 14 | export class OrganizationsService extends SeCurisResourceServices { |
|---|
| 14 | | - constructor(http: Http) { |
|---|
| 15 | | - super(http, 'organization'); |
|---|
| 15 | + constructor(http: Http, $L: LocaleService) { |
|---|
| 16 | + super($L, http, 'organization'); |
|---|
| 16 | 17 | } |
|---|
| 17 | 18 | |
|---|
| 18 | 19 | |
|---|