Removed sensitive information tab from prod features
This commit is contained in:
@@ -9,4 +9,5 @@ export enum Feature {
|
||||
VERSION_INFO,
|
||||
ACCESSIBILITY_REPORT,
|
||||
REPORTING,
|
||||
SENSITIVE_INFORMATION,
|
||||
}
|
||||
|
||||
@@ -197,9 +197,9 @@ export class DeltagareApiService {
|
||||
);
|
||||
}
|
||||
|
||||
public fetchAvropInformation$(id: string): Observable<Avrop | Partial<Avrop>> {
|
||||
public fetchAvropInformation$(id: string): Observable<Avrop> {
|
||||
return this.httpClient.get<{ data: AvropResponse }>(`${this._apiBaseUrl}/${id}/avrop`).pipe(
|
||||
map(({ data }) => (data ? mapAvropResponseToAvrop(data) : {})),
|
||||
map(({ data }) => mapAvropResponseToAvrop(data)),
|
||||
catchError((error: Error) => {
|
||||
throw new CustomError(
|
||||
errorToCustomError({ ...error, message: `Kunde inte hämta avropsinformation.\n\n${error.message}` })
|
||||
|
||||
Reference in New Issue
Block a user