Skip to content

Commit

Permalink
fix: fix quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Apr 5, 2024
1 parent 7484015 commit db688c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enterprise_access/apps/events/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def get_serializer(cls):
if cls.SERIALIZER is None:
KAFKA_SCHEMA_REGISTRY_CONFIG = {
'url': getattr(settings, 'SCHEMA_REGISTRY_URL', ''),
'basic.auth.user.info': f"{getattr(settings,'SCHEMA_REGISTRY_API_KEY','')}"
f":{getattr(settings,'SCHEMA_REGISTRY_API_SECRET','')}",
'basic.auth.user.info': f"{getattr(settings, 'SCHEMA_REGISTRY_API_KEY', '')}"
f":{getattr(settings, 'SCHEMA_REGISTRY_API_SECRET', '')}",
}
schema_registry_client = SchemaRegistryClient(KAFKA_SCHEMA_REGISTRY_CONFIG)
cls.TRACKING_EVENT_SERIALIZER = AvroSerializer(schema_str=CouponCodeRequestEvent.AVRO_SCHEMA,
Expand Down

0 comments on commit db688c3

Please sign in to comment.