Skip to content

Commit

Permalink
default {} for features
Browse files Browse the repository at this point in the history
  • Loading branch information
psrikanth88 committed Oct 3, 2023
1 parent 6fca43d commit 0c56df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/userTransform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { HTTP_CUSTOM_STATUS_CODES } from '../constants';
export default class UserTransformService {
public static async transformRoutine(
events: ProcessorTransformationRequest[],
features: FeatureFlags,
features: FeatureFlags = {},
): Promise<UserTransformationServiceResponse> {
let retryStatus = 200;
const groupedEvents: NonNullable<unknown> = groupBy(
Expand Down

0 comments on commit 0c56df9

Please sign in to comment.