Skip to content

Commit

Permalink
fix: Fix CreatePushSubscriptionParams#policy to be on the root and re…
Browse files Browse the repository at this point in the history
…quired
  • Loading branch information
neet committed Dec 4, 2022
1 parent dbdf59f commit 80ee853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repositories/push-subscription-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export interface CreatePushSubscriptionParams {
};
readonly data?: {
readonly alerts?: Partial<PushSubscriptionAlerts> | null;
readonly policy?: SubscriptionPolicy;
} | null;
readonly policy: SubscriptionPolicy;
}

export type UpdatePushSubscriptionParams = Pick<
Expand Down

0 comments on commit 80ee853

Please sign in to comment.