Skip to content

Commit ab1f578

Browse files
committed
Fixed failing test on the backend
1 parent 49ebe4c commit ab1f578

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backend/src/lib/infra/nest-auth-passport/users/user-registered.integration-event.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export class UserRegisteredIntegrationEvent
2323
context: {},
2424
correlationId: asyncLocalStorage.getStore()?.get('correlationId'),
2525
};
26-
Object.assign(this, payload, this.metadata);
26+
this.payload = payload;
27+
Object.assign(this, this.payload, this.metadata);
2728
}
2829
}

0 commit comments

Comments
 (0)