From 7aae84b2bee9a2e5e83cdbc38d79525469d8cde4 Mon Sep 17 00:00:00 2001 From: Rajnikant Date: Mon, 23 May 2022 12:44:23 +0530 Subject: [PATCH] . --- src/app/filters/authImageFilter.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/filters/authImageFilter.ts b/src/app/filters/authImageFilter.ts index 7675d552..72f6cbe8 100644 --- a/src/app/filters/authImageFilter.ts +++ b/src/app/filters/authImageFilter.ts @@ -9,12 +9,12 @@ import { environment } from 'environments/environment'; name: 'authImage' }) export class AuthImageFilter implements PipeTransform { - + constructor( private httpServer: HttpServer, private domSanitizer: DomSanitizer - ) {} - + ) { } + async transform(src: string, server: Server) { let url = src.split(`${environment.current_version}`)[1]; const imageBlob: Blob = await this.httpServer.getBlob(server, url).toPromise();