Simplify AbtractUIService logPrefix method
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 23 Aug 2022 22:47:31 +0000 (00:47 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 23 Aug 2022 22:47:31 +0000 (00:47 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/ui-server/ui-services/AbstractUIService.ts

index aa35ac2b5dda360efa1e5f07791182b34886a2da..db9a036d183054b7fd77cb98dda7ac0e3eb7626f 100644 (file)
@@ -92,7 +92,7 @@ export default abstract class AbstractUIService {
   }
 
   public logPrefix(modName: string, methodName: string): string {
-    return `${this.uiServer.logPrefix(modName, methodName)}`;
+    return this.uiServer.logPrefix(modName, methodName);
   }
 
   private buildProtocolRequest(