File tree Expand file tree Collapse file tree
services/apps/members_enrichment_worker/src/activities/lf-auth0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,18 +32,14 @@ export async function updateMemberWithEnrichmentData(
3232 try {
3333 await svc . postgres . writer . connection ( ) . tx ( async ( tx ) => {
3434 for ( const identity of identities ) {
35- await createMemberIdentity (
36- new PgPromiseQueryExecutor ( tx ) ,
37- {
38- memberId,
39- platform : identity . platform ,
40- value : identity . value ,
41- type : identity . type ,
42- verified : identity . verified || false ,
43- source : 'enrichment' ,
44- } ,
45- true ,
46- )
35+ await createMemberIdentity ( new PgPromiseQueryExecutor ( tx ) , {
36+ memberId,
37+ platform : identity . platform ,
38+ value : identity . value ,
39+ type : identity . type ,
40+ verified : identity . verified || false ,
41+ source : 'enrichment' ,
42+ } )
4743 }
4844 if ( attributes ) {
4945 await updateMemberAttributes ( tx , memberId , attributes )
You can’t perform that action at this time.
0 commit comments