Skip to content

Commit

Permalink
fix: type casting to supress incorrect type from SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
mirovladimitrovski committed Jun 8, 2023
1 parent ddeb8f1 commit f7f1f6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/inplayer.account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ export const getPublisherConsents: GetPublisherConsents<ConsentFieldVariants, st
label: field.label,
placeholder: field.placeholder,
required: field.required,
options: field.options,
// todo: field.option type in SDK is incorrect, remove the type casting after fixing that
options: field.options as unknown as Record<string, string>,
version: '1',
}),
);
Expand Down

0 comments on commit f7f1f6d

Please sign in to comment.