File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import {
35
35
PubSubContactsMessage ,
36
36
PubSubContactsState ,
37
37
} from './pubsub/pubsub-contacts-message.model' ;
38
+ import { anonymizeKey } from '../util/anonymize-key' ;
38
39
39
40
const CONTACT_FETCH_TIMEOUT = 5000 ;
40
41
@@ -999,10 +1000,16 @@ export class Controller {
999
1000
1000
1001
infoLogger (
1001
1002
'getEntity' ,
1002
- `[ ${ JSON . stringify ( fetchedEntity ) } ] ` ,
1003
+ `successfully got entity ` ,
1003
1004
providerConfig . apiKey ,
1005
+ {
1006
+ ...fetchedEntity ,
1007
+ label : anonymizeKey ( fetchedEntity ?. label ) ,
1008
+ } ,
1004
1009
) ;
1005
- infoLogger ( 'getEntity' , `END` , providerConfig ?. apiKey ) ;
1010
+
1011
+ infoLogger ( 'getEntity' , `END` , providerConfig . apiKey ) ;
1012
+
1006
1013
res . status ( 200 ) . send ( fetchedEntity ) ;
1007
1014
} catch ( error ) {
1008
1015
errorLogger (
You can’t perform that action at this time.
0 commit comments